整理代码
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<ResourceDictionary Source="/NeoUI;component/Controls/TextBoxContextMenu.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<Style TargetType="{x:Type TextBox}" x:Key="FlattenTextBox">
|
||||
<Style TargetType="{x:Type TextBox}" x:Key="FlattenTextBoxStyle">
|
||||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundNormalBrush}" />
|
||||
<Setter Property="BorderBrush" Value="Transparent" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}" />
|
||||
@@ -38,7 +38,7 @@
|
||||
<!-- TODO:禁用效果 -->
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="TextElement.Foreground" TargetName="PART_ContentHost" Value="{DynamicResource TextDisabledBrush}" />
|
||||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundDisabledBrush}"/>
|
||||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundDisabledBrush}" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
|
||||
Reference in New Issue
Block a user