Let's say we define button style in .Resource tags. The style is apply to all button (TargetTye=Button, x:Key is not set
). In some parts of my application, I want to turn this style off.
I seek for a solution where a "style undo" feature can happen. Like typing in MS Word, when you try some formation (bold/underline) - should read as applying a style - and later you undo it to return to initial state.
How can I do it? All helps are very much appreciated!
[Edit]
My question is similar to the one here How to invoke windows theme in WPF? - Stack Overflow where the invoked theme is the currently-selected theme of the Windows OS.