aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/colorPicktest2.crow
blob: 63991ff1f9a630122f468c99ff1530c2f4be138e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<ColorPicker Height="Stretched" Background="Onyx" Width="Fit">
	<Template>
		<ListBox Width="Stretched" Data="{./AvailableColors}" Margin="10">
			<Template>
				<Scroller Name="scroller1" Margin="5" ClipToClientRect="true" Background="Onyx">
					<VerticalStack Name="ItemsContainer" Height="Fit" VerticalAlignment="Top"/>
				</Scroller>
			</Template>
			<ItemTemplate>
				<ListItem Margin="1" Width="Stretched"
						Selected="{Background=White}"
						Unselected="{Background=Transparent}" >
						<Label CornerRadius="3" Margin="2" Background="{}" Text="{}" Width="Stretched" />
				</ListItem>
			</ItemTemplate>
		</ListBox>
	</Template>
</ColorPicker>