aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/tabviewTestVertical.crow
blob: cc224ec6dd1c76b54d211424efa8c28b371e11bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<HorizontalStack Spacing="0" > 
	<ListBox Data="{../grp.Children}" Width="Fit"> 
		<Template>
			<VerticalStack Name="ItemsContainer" Background="{./Background}"/>
		</Template>
		<ItemTemplate>
			<ListItem Height="Fit" Background="Transparent" IsSelected="{IsVisible}"
					Selected="{.DataSource.Visible='true'};{Background=Grey}"
					Unselected="{.DataSource.Visible='false'};{Background=Transparent}"> 
				<Label Text="{Name}" Margin="5" />
			</ListItem>
		</ItemTemplate>
	</ListBox>
	<Group Name="grp" Background="Grey" Margin="10">
		<Container Name="item 1" IsVisible="true" >
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Container>
		<Container Name="item 2" IsVisible="false">
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Container>
		<Container Name="item 3" IsVisible="false">
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Container>
		<Container Name="item 4" IsVisible="false">
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Container>
		<Container Name="item 5" IsVisible="false">
			<ColorPicker Height="Stretched" Width="Stretched" />
		</Container>
	</Group>	
</HorizontalStack>