A short post about Visual Studio setting that disables the design editor for XAML files.
In C# in order to control what code should be executed we can use compilation directives
#endif. For instance, we can compile certain code only in
Debug mode and exclude one in
The question is how to achieve the same in XAML.
For localization or some other reason you might want to access the static resources in
ResX file from the XAML using