WPF Async Pack 1.0
WPF Async Pack is a small library for creating asynchronous WPF applications. It's not a framework, it was created mainly for the small applications where installing heavy frameworks is just overkill. It doesn't have any dependencies and contains such the most used classes as AsyncCommand
and BaseViewModel
.
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.