命名调整
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
<Setter Property="Background" Value="{x:Null}" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource LinkBrush}" />
|
||||
<Setter Property="helpers:Control.MouseOverForeground"
|
||||
<Setter Property="helpers:AntdControl.MouseOverForeground"
|
||||
Value="{Binding Foreground, Mode=OneWay, ConverterParameter=5,
|
||||
RelativeSource={RelativeSource Self}, Converter={StaticResource ColorPaletteConverter}}" />
|
||||
<Setter Property="helpers:Control.PressedForeground"
|
||||
<Setter Property="helpers:AntdControl.PressedForeground"
|
||||
Value="{Binding Foreground, Mode=OneWay, ConverterParameter=7,
|
||||
RelativeSource={RelativeSource Self}, Converter={StaticResource ColorPaletteConverter}}" />
|
||||
<Setter Property="Template">
|
||||
@@ -30,13 +30,13 @@
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter TargetName="Content"
|
||||
Property="TextElement.Foreground"
|
||||
Value="{Binding Path=(helpers:Control.MouseOverForeground), Mode=OneWay,
|
||||
Value="{Binding Path=(helpers:AntdControl.MouseOverForeground), Mode=OneWay,
|
||||
RelativeSource={RelativeSource TemplatedParent}}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter TargetName="Content"
|
||||
Property="TextElement.Foreground"
|
||||
Value="{Binding Path=(helpers:Control.PressedForeground), Mode=OneWay,
|
||||
Value="{Binding Path=(helpers:AntdControl.PressedForeground), Mode=OneWay,
|
||||
RelativeSource={RelativeSource TemplatedParent}}" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
|
||||
Reference in New Issue
Block a user