1. add datagrid style 2. improve the numericupdown 3. add checkbox style 4. add listbox demo 5. add treeview demo 6. add border demo 7. remove angle property of iconelement 8. add menu demo
42 lines
3.0 KiB
XML
42 lines
3.0 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:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
|
|
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
|
Background="White">
|
|
<controls:TransitioningContentControl>
|
|
<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="{StaticResource 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="{StaticResource 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="{StaticResource 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="{StaticResource 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="{StaticResource 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="{StaticResource BorderBrush}">
|
|
<TextBlock Text="{x:Static langs:Lang.ContentDemoStr}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
</Border>
|
|
</Border>
|
|
</UniformGrid>
|
|
</controls:TransitioningContentControl>
|
|
</UserControl>
|