aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/CrowIDE/ui/ItemTemplates/Fill.template
blob: 56d4a4d4ccfe8aaf891507ac847e762e00d0a6ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<HorizontalStack Style="MemberViewHStack" ContextCommands="{Commands}">
	<Label Style="MemberViewLabel" Text="{Name}" Foreground = "{LabForeground}"/>
	<Popper Height="Stretched" Caption="{Value}">
		<Template>
			<CheckBox Caption="{./Caption}" IsChecked="{²./IsPopped}">
				<Template>
					<HorizontalStack Margin="1" Height="Stretched" Spacing="3" Background="White">
						<Border Foreground="{LabForeground}" Width="18" Height="12" CornerRadius="3"
							Background="{Value}">
						</Border>
						<Label Width="Stretched" Text="{./Caption}" Foreground="{LabForeground}"/>
					</HorizontalStack>
				</Template>
			</CheckBox>
		</Template>
		<ColorPicker SelectedColor="{²Value}" Background="DimGrey" Margin="5" Fit="True" />
	</Popper>
</HorizontalStack>