This question is locked. New answers and comments are not allowed.
Is it possible to change property of a component in some visual state without having full ControlTemplate in resource?
I need to change visual state property of Text (make it green in Valid state )for a MaskedTextBox.
So I believe I need to edit Template and do my stuff. But it means I need to have full ControlTemplate in resource.
How to achive this with minimum code in XAML file?
May be you can template this property in component itself (similar to ControlOuterBorder_Focused or ControlForeground_Disabled), so I will be able to apply style without modifing whole control template? Something like ControlValidForeground??
I need to change visual state property of Text (make it green in Valid state )for a MaskedTextBox.
So I believe I need to edit Template and do my stuff. But it means I need to have full ControlTemplate in resource.
How to achive this with minimum code in XAML file?
May be you can template this property in component itself (similar to ControlOuterBorder_Focused or ControlForeground_Disabled), so I will be able to apply style without modifing whole control template? Something like ControlValidForeground??