整理控件库
This commit is contained in:
@@ -9,11 +9,10 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:WPFluent.Controls">
|
||||
|
||||
<Style TargetType="{x:Type controls:Badge}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource BadgeForeground}" />
|
||||
<Setter Property="Background" Value="{DynamicResource BadgeBackground}" />
|
||||
<!--<Setter Property="BorderBrush" Value="{DynamicResource SystemAccentBrush}" />-->
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource SystemAccentBrush}" />
|
||||
<Setter Property="BorderBrush" Value="Transparent" />
|
||||
<Setter Property="Padding" Value="4" />
|
||||
<Setter Property="Focusable" Value="False" />
|
||||
@@ -29,7 +28,7 @@
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="4">
|
||||
<ContentPresenter />
|
||||
<ContentPresenter VerticalAlignment="Center"/>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="Appearance" Value="Primary">
|
||||
|
||||
Reference in New Issue
Block a user