Posts

Showing posts with the label wpf binding

Showing and hiding controls in WPF / XAML

Image
A short post on how to show or hide a control in WPF by using a BooleanToVisibilityConverter . As a minimalist example, start by creating a new WPF project from Visual Studio:

WPF Binding an Image using XAML and MVVM

Image
A post describing how to bind an image such as a bitmap or png file to your viewmodel. In Visual Studio create a new WPF project: