aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/TemplatedContainer/testTabView.crow
blob: c6cc043b7ee5af9b05686e2d46baa9f55f859181 (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
<?xml version="1.0" encoding="UTF-8" ?>
<VerticalStack Height="50%" Width="80%">
	<HorizontalStack Height="Fit">
		<Label Text="Selected Tab:"/>
		<Label Text="{../../tabview1.SelectedTab}"/>
	</HorizontalStack>
	<TabView Name="tabview1" Background="Onyx" Orientation="Horizontal" Spacing="14" Margin="50">
		<TabItem Name="TabItem1" Caption="tab item 1" Background="Onyx">
			<VerticalStack Margin="20">
				<CheckBox/>
				<CheckBox/>
				<CheckBox/>
				<CheckBox/>
			</VerticalStack>
		</TabItem>
		<TabItem Name="TabItem2" Caption="tab item 2" Background="Onyx">
			<VerticalStack Height="Fit" Margin="10">
				<RadioButton Fit="true"/>
				<RadioButton/>
				<RadioButton/>
				<RadioButton/>
			</VerticalStack>
		</TabItem>
		<TabItem Name="TabItem3" Background="Onyx" Caption="tab item 3">
			<Container Margin="5" CornerRadius="2" >
				<TextBox Margin="5" Multiline="true" TextAlignment="TopLeft"/>
			</Container>
		</TabItem>
		<TabItem Name="TabItem4" Background="Onyx" Caption="tab item 4" Margin="0">
			<TextBox/>
		</TabItem>
	</TabView>
	<Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right"
		Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick"/>
</VerticalStack>