命名调整

This commit is contained in:
GG Z
2025-07-12 23:31:32 +08:00
parent 4d35cadb56
commit 6d96da6f90
88 changed files with 3975 additions and 2763 deletions

View File

@@ -20,7 +20,7 @@
<Setter Property="Foreground" Value="{DynamicResource AvatarForeground}" />
<Setter Property="Background" Value="{DynamicResource AvatarBackground}" />
<Setter Property="Height" Value="{Binding Width, Mode=OneWay, RelativeSource={RelativeSource Self}}" />
<Setter Property="helpers:Control.CornerRadius" Value="{Binding Width, Mode=OneWay, RelativeSource={RelativeSource Self},
<Setter Property="helpers:AntdControl.CornerRadius" Value="{Binding Width, Mode=OneWay, RelativeSource={RelativeSource Self},
Converter={StaticResource DoubleToCornerRadiusConverter}, ConverterParameter=2}" />
<Setter Property="Template">
<Setter.Value>
@@ -30,7 +30,7 @@
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
CornerRadius="{TemplateBinding helpers:Control.CornerRadius}">
CornerRadius="{TemplateBinding helpers:AntdControl.CornerRadius}">
<ContentPresenter x:Name="PART_Content"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
@@ -40,7 +40,7 @@
</Setter>
<Style.Triggers>
<Trigger Property="Shape" Value="Square">
<Setter Property="helpers:Control.CornerRadius" Value="{DynamicResource AvatarBorderRadius}" />
<Setter Property="helpers:AntdControl.CornerRadius" Value="{DynamicResource AvatarBorderRadius}" />
</Trigger>
<!-- Sizes -->
<Trigger Property="Size" Value="Small">