aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/enumSelector2.crow
blob: adaf0870adc118bf6e2ababb36cb1414f4931308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<VerticalStack>
	<Label Text="{DeviceEventTypeEnum}"/>
	<EnumSelector Caption="Device Events:" EnumValue="{²DeviceEventTypeEnum}" ItemStyle="CheckBox3" Width="Fit"  Background="Jet">
		<Template>
			<Border Style="ControlBorder" Background="{./Background}" CornerRadius="{./CornerRadius}">
				<HorizontalStack>
					<Label Text="{./Caption}"/>
					<Popper Caption="{./EnumValue}" PopDirection="BottomLeft" >
						<Template>
							<Label Style="ControlCaption" Text="{./Caption}" Foreground="{./Foreground}" MinimumSize="80,1" TextAlignment="Center"/>
						</Template>
						<VerticalStack Fit="true" Name="Content" Background="Onyx" Width="{../PopWidth}" Margin="5"/>
					</Popper>
				</HorizontalStack>
			</Border>
		</Template>
	</EnumSelector>
</VerticalStack>