aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/tabviewTestVertical2.crow
blob: d1f24c4fa17127a55278c3717ef08948dd6ae324 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0"?>
<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=${ControlBorderColor}}"
					Unselected="{.DataSource.Visible='false'};{Background=Transparent}">
				<HorizontalStack Margin="5" >  
					<Label Text="{Caption}" Margin="5" />
					<Border CornerRadius="6" BorderWidth="1" Foreground="Transparent"  Height="10" Width="10" VerticalAlignment="Top"
						MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
						<Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg"
							 MouseClick="onQuitPress"/>
					</Border>
					</HorizontalStack>
			</ListItem>
		</ItemTemplate>
	</ListBox>
	<Group Name="grp" Background="${ControlBorderColor}" Margin="10">
		<Window Template="#Crow.ToolWindow.template" Caption="item 1" IsVisible="true" Width="Stretched" Height="Stretched" Resizable="False" >
			<Template>
				<Container Name="Content"/>
			</Template>
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Window>
		<Window Caption="item 2" IsVisible="false" Width="Stretched" Height="Stretched" Resizable="False" >
			<Template>
				<Container Name="Content"/>
			</Template>
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Window>
		<Window Caption="item 3" IsVisible="false" Width="Stretched" Height="Stretched" Resizable="False" >
			<Template>
				<Container Name="Content"/>
			</Template>
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Window>
		<Window Caption="item 4" IsVisible="false" Width="Stretched" Height="Stretched" Resizable="False" >
			<Template>
				<Container Name="Content"/>
			</Template>
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Window>
		<Window Caption="item 5" IsVisible="false" Width="Stretched" Height="Stretched" Resizable="False" >
			<Template>
				<Container Name="Content"/>
			</Template>
			<TextBox Text="test" Height="Stretched" Width="Stretched" Multiline="true"/>
		</Window>
	</Group>	
</HorizontalStack>