aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/TemplatedContainer/test_Listbox.crow
blob: 90fccf4f785ccfde3ff1af3ffca59af705dc8e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<!--<ListBox Data="{TestList}" Focusable="true"/>-->
<Border Margin="50">
	<VerticalStack >
		<Label Text="{../ColorList.SelectedItem}" Background="DarkGreen"/>
		<Label Text="{Hover}" Background="DarkGreen"/>
		<Button Caption="Clear" Width="Stretched" MouseClick="OnClear"/>
		<ListBox Name="ColorList" Data="{TestList}"  Width="200" Height="200" 
					 ItemTemplate="Interfaces/colorItem.crow">			
		</ListBox>
		<Button Caption="Load list" Width="Stretched" MouseClick="OnLoadList"/>
	</VerticalStack>
</Border>