I am currently facing a scenario that I am unsure 开发者_开发知识库what is the best way to handle.
I\'m trying to figure out how the VisualStateManager works but I cannot do it. I want to do this: I have some TextBoxes where the user can enter his name, adress, ... and I\'m doing a validation and
I want to define a ToggleButton that appears with red foreground (for example) when checked, rather than the default appearance of a pressed button.