Open XAML without design editor in Visual Studio

A short post about Visual Studio setting that disables the design editor for XAML files.

Compilation directives for controlling XAML content

In C# in order to control what code should be executed we can use compilation directives #if, #else, #elif and #endif. For instance, we can compile certain code only in Debug mode and exclude one in Release.

The question is how to achieve the same in XAML.

Static extension in WPF XAML and public ResX files

For localization or some other reason you might want to access the static resources in ResX file from the XAML using Static extension.