blob: 9623284f38878d46fa2494ac69889e312ed7c941 (
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
|
<?xml version="1.0"?>
<VerticalStack Background="SteelBlue" Fit="true">
<HorizontalStack Fit="true">
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopLeft"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopCenter"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="TopRight"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="LeftCenter"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Center"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="RightCenter"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomLeft"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomCenter"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="BottomRight"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<TextBox Background="DarkGray" Height="30" Width="70" TextAlignment="TopStretch" Text="TopStretch"/>
<TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="HorizontalStretch" Text="HorizontalStretch" />
<TextBox Background="DarkGray" Height="30" Width="60" TextAlignment="BottomStretch" Text="BottomStretch"/>
<TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="LeftStretch" Text="LeftStretch"/>
<TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="VerticalStretch" Text="VerticalStretch"/>
<TextBox Background="DarkGray" Height="10" Width="70" TextAlignment="RightStretch" Text="RightStretch"/>
<TextBox Background="DarkGray" Height="30" Width="50" TextAlignment="Fit" Text="Fit"/>
</HorizontalStack>
<TextBox Name="tb" Multiline="true" Font="droid,16" Margin="5" Text="A\nBB\nCCC\nDDDD"/>
<TextBox Multiline="true" Font="droid,16" Name="tb5" Margin="5" Text="{../tb.SelectedText}"/>
<!-- <TextBox Font="droid,10" Name="tb1" Margin="5" Text="this is a test of a text box"/>
<TextBox Width="300" Height="35" Text="this is a test of a text box"/>-->
<TextBox Font="droid,10" Name="tb2" Margin="0" Text="this is a test of a text box"/>
<TextBox Font="droid,10" Name="tb3" Margin="5" Text="this is a test of a text box"/>
<TextBox Font="droid,10" Name="tb4" Margin="5" Text="this is a test of a text box"/>
<TextBox Font="droid,10" Name="tb5" Margin="20" Text="this is a test of a text box"/>
<TextBox Multiline="true" Font="droid,10" Name="tb6" Margin="5" Text="this is a test of a text box\nthis is a test of a text box"/>
<TextBox Multiline="true" Font="droid,10" Name="tb7" Margin="1" TextAlignment="Center"
Text="this is a test of a text box\nthis is a test\nthis is a test when line are centered"/>
<TextBox Multiline="true" Font="droid,10" Name="tb8" Margin="1" TextAlignment="Center"
Text="this is a test of a text box\n\n\nthis is a test\nthis is a test when line are centered"/>
</VerticalStack>
|