更新
This commit is contained in:
17
WPFDark/Controls/BiaColorPanel.xaml
Normal file
17
WPFDark/Controls/BiaColorPanel.xaml
Normal file
@@ -0,0 +1,17 @@
|
||||
<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:BiaColorPanel}">
|
||||
<Setter Property="BorderColor" Value="{DynamicResource TextBoxBorderColorKey}" />
|
||||
<Setter Property="Width" Value="36.0" />
|
||||
<Setter Property="Height" Value="{x:Static wpf:Boxes.BasicOneLineHeight}" />
|
||||
<Setter Property="CornerRadius" Value="{x:Static wpf:Boxes.BasicCornerRadiusPrim}" />
|
||||
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="BorderColor" Value="{DynamicResource InactiveBorderColorKey}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user