forked from Noesis/Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlignment.xaml
More file actions
15 lines (15 loc) · 731 Bytes
/
Alignment.xaml
File metadata and controls
15 lines (15 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<Grid
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="200">
<Border BorderBrush="DodgerBlue" BorderThickness="1" Margin="2" Padding="1">
<TextBlock Text="Left" TextAlignment="Left"/>
</Border>
<Border BorderBrush="DodgerBlue" BorderThickness="1" Margin="2" Padding="1">
<TextBlock Text="Center" TextAlignment="Center"/>
</Border>
<Border BorderBrush="DodgerBlue" BorderThickness="1" Margin="2" Padding="1">
<TextBlock Text="Right" TextAlignment="Right"/>
</Border>
</StackPanel>
</Grid>