-
Notifications
You must be signed in to change notification settings - Fork 500
/
Copy pathPage.xaml
53 lines (49 loc) · 2.23 KB
/
Page.xaml
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
<UserControl x:Class="BorderSample2.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Grid ShowGridLines="True">
<Grid.ColumnDefinitions>
<ColumnDefinition MaxWidth="100" MinWidth="50"/>
<ColumnDefinition MaxWidth="100" MinWidth="50"/>
<ColumnDefinition MaxWidth="100" MinWidth="50"/>
<ColumnDefinition MaxWidth="100" MinWidth="50"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition MaxHeight="150" MinHeight="100"/>
<RowDefinition MaxHeight="150" MinHeight="100"/>
<RowDefinition MaxHeight="150" MinHeight="100"/>
<RowDefinition MaxHeight="150" MinHeight="100"/>
</Grid.RowDefinitions>
<!--<SnippetBorderContainer>-->
<Border BorderThickness="5" BorderBrush="Blue" >
<StackPanel Grid.Column="0" Grid.Row="0">
<TextBlock Text="One"/>
<TextBlock Text="Two"/>
<TextBlock Text="Three"/>
</StackPanel>
</Border>
<!--</SnippetBorderContainer>-->
<!--<SnippetThickness>-->
<Border BorderThickness="3,10,10,3" BorderBrush="Blue" Grid.Column="0" Grid.Row="2">
<TextBlock Text="Thickness" />
</Border>
<!--</SnippetThickness>-->
<!--<SnippetBackgroundCorner>-->
<Border Background="Cyan" CornerRadius="20" Grid.Column="2" Grid.Row="2">
<TextBlock Text="Background Brush" TextWrapping="Wrap" VerticalAlignment="Center" />
</Border>
<!--</SnippetBackgroundCorner>-->
<!--<SnippetGradientBorder>-->
<Border BorderThickness="10" Grid.Column="2" Grid.Row="0">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="Gold" Offset="0"/>
<GradientStop Color="Purple" Offset="1"/>
</LinearGradientBrush>
</Border.BorderBrush>
<TextBlock Text="Gradient Brush" TextWrapping="Wrap" VerticalAlignment="Center" />
</Border>
<!--</SnippetGradientBorder>-->
</Grid>
</UserControl>