更新
This commit is contained in:
21
WPFDark/Controls/BiaHyperlinkButton.xaml
Normal file
21
WPFDark/Controls/BiaHyperlinkButton.xaml
Normal file
@@ -0,0 +1,21 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:wpf="clr-namespace:WPFDark"
|
||||
xmlns:controls="clr-namespace:WPFDark.Controls">
|
||||
<Style TargetType="{x:Type controls:BiaHyperlinkButton}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource AccentBrushKey}" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="Margin" Value="0" />
|
||||
<Setter Property="Cursor" Value="Hand" />
|
||||
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="Foreground" Value="{DynamicResource InactiveForegroundBrushKey}" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource AccentBrushKey.IsMouseOver}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user