39 lines
2.7 KiB
XML
39 lines
2.7 KiB
XML
<UserControl x:Class="HandyControlDemo.UserControl.BorderDemoCtl"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
|
Background="{DynamicResource RegionBrush}">
|
|
<UniformGrid Margin="32,32,0,0" Columns="3" Rows="2">
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32">
|
|
<Border Background="{DynamicResource PrimaryBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
|
|
</Border>
|
|
</Border>
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32" Effect="{StaticResource EffectShadow1}">
|
|
<Border Background="{DynamicResource InfoBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
|
|
</Border>
|
|
</Border>
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32" Effect="{StaticResource EffectShadow2}">
|
|
<Border Background="{DynamicResource WarningBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
|
|
</Border>
|
|
</Border>
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32" Effect="{StaticResource EffectShadow3}">
|
|
<Border Background="{DynamicResource DangerBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
|
|
</Border>
|
|
</Border>
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32" Effect="{StaticResource EffectShadow4}">
|
|
<Border Background="{DynamicResource AccentBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
|
|
</Border>
|
|
</Border>
|
|
<Border Style="{StaticResource BorderRegionStyle}" Width="200" Height="200" Margin="0,0,32,32" Effect="{StaticResource EffectShadow5}">
|
|
<Border Background="{DynamicResource BorderBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
</Border>
|
|
</Border>
|
|
</UniformGrid>
|
|
</UserControl>
|