aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/TemplatedContainer/test_Listbox.crow
blob: 47adb8ceb1396f024ce2f1c91c53a6b845a9fbf9 (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="#Tests.Interfaces.colorItem.crow">			
		</ListBox>
		<Button Caption="Load list" Width="Stretched" MouseClick="OnLoadList"/>
	</VerticalStack>
</Border>