change background of input textbox on focus/mouseover.

This commit is contained in:
morkt
2014-08-08 13:49:27 +04:00
parent 1e390eed1e
commit 29892ff3fd
2 changed files with 17 additions and 19 deletions

View File

@@ -165,24 +165,19 @@
<Style TargetType="{x:Type Separator}" BasedOn="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}">
<Setter Property="Margin" Value="5,0,5,0"/>
</Style>
<!-- Path input textbox mouseover highlight --><!--
<!-- Path input textbox mouseover highlight -->
<Style TargetType="{x:Type local:ExtAutoCompleteBox}">
<Setter Property="Background" Value="White"/>
<Style.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsFocused" Value="False"/>
<Condition Property="IsTextBoxFocused" Value="False"/>
<Condition Property="IsMouseOver" Value="False"/>
</MultiTrigger.Conditions>
<Setter Property="Background" Value="{StaticResource InactiveInputBackground}"/>
</MultiTrigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="White"/>
</Trigger>
<Trigger Property="IsFocused" Value="True">
<Setter Property="Background" Value="White"/>
</Trigger>
</Style.Triggers>
</Style>
-->
<Style TargetType="{x:Type Image}">
<Setter Property="UseLayoutRounding" Value="True"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>