命名调整
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<Setter Property="Background" Value="{DynamicResource DisabledBrush}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource ComponentBackground}" />
|
||||
<Setter Property="FocusVisualStyle" Value="{StaticResource Ant.SwitchFocusVisualStyle}" />
|
||||
<Setter Property="helpers:Control.CornerRadius" Value="{Binding Height, Mode=OneWay, RelativeSource={RelativeSource Self},
|
||||
<Setter Property="helpers:AntdControl.CornerRadius" Value="{Binding Height, Mode=OneWay, RelativeSource={RelativeSource Self},
|
||||
Converter={StaticResource DoubleToCornerRadiusConverter}, ConverterParameter=2}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
@@ -51,7 +51,7 @@
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
CornerRadius="{Binding Path=(helpers:Control.CornerRadius), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
|
||||
CornerRadius="{Binding Path=(helpers:AntdControl.CornerRadius), Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
|
||||
<!-- Content -->
|
||||
<ContentPresenter x:Name="Content"
|
||||
HorizontalAlignment="Right"
|
||||
|
||||
Reference in New Issue
Block a user