Preprocessor conditional compilation in XAML
I've got some code written in C# WPF, and I've got some code for debugging, which I currently compile on or off for debug or release mode. How can I enable or disable UI controls which are currently written in my XAML based on C# preprocessor definitions?
Preprocessor conditional compilation in XAML
===

I've got some code written in C# WPF, and I've got some code for debugging, which I currently compile on or off for debug or release mode. How can I enable or disable UI controls which are currently written in my XAML based on C# preprocessor definitions?