Hi,
I'm trying to set the background color of the Int32EditBox via triggers, but something in the control template is overriding the MouseOver and IsFocused properties. I'm assuming you are using the default Windows chrome. I'm not sure what part of the control template I need to edit to make this happen, is it PartEditBox or...? And how do I apply this to only the Int32EditBox and not all editor controls?
This is what I've tried so far:
<Style.Triggers>
<MultiTrigger
x:Uid="MultiTrigger_3">
<MultiTrigger.Conditions>
<Condition
x:Uid="Condition_12"
Property="IsEnabled"
Value="True" />
<Condition
x:Uid="Condition_13"
Property="Validation.HasError"
Value="True" />
</MultiTrigger.Conditions>
<Setter
x:Uid="Setter_116"
Property="Background"
Value="{StaticResource ErrorBackgroundBrush}" />
<Setter
x:Uid="Setter_117"
Property="BorderBrush"
Value="{StaticResource ErrorBorderBrush}" />
</MultiTrigger>
</Style.Triggers>
Thank you!