更新
This commit is contained in:
18
WPFDark/Controls/BiaColorBar.xaml
Normal file
18
WPFDark/Controls/BiaColorBar.xaml
Normal file
@@ -0,0 +1,18 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:colorPicker1="clr-namespace:WPFDark.Controls"
|
||||
xmlns:wpf="clr-namespace:WPFDark">
|
||||
<Style TargetType="{x:Type colorPicker1:BiaColorBar}">
|
||||
<Setter Property="BorderColor" Value="{DynamicResource TextBoxBorderColorKey}" />
|
||||
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="BorderColor" Value="{DynamicResource ActiveBorderColorKey}" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="BorderColor" Value="{DynamicResource InactiveBorderColorKey}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user