XAML

WPF: Simple way to use enums as ComboBox items

A lot of times in GUIs we use ComboBoxes to let the user choose one of several options. An enum property is a natural fit to store the selected value in the viewmodel via databinding. To set the available values the MVVM way you typically have to databind the ItemsSource-Property to a collection. This means you

WPF: Simple way to use enums as ComboBox items Read More »

[UWP] Bilder bemalen mit dem InkCanvas

Mit der Universal Windows Plattform unter Windows 10 wurde eine neue Ink-API eingeführt. Das InkCanvas-Control ermöglicht es, mit der Maus, durch Touch-Eingabe oder mit einen speziellen Stift Zeichnungen zu erstellen, beispielsweise um bestimmte Bereiche in einem Bild zu markieren. Die Art und Weise wie die gemalten Striche als Bitmap gespeichert werden können hat sich im Vergleich zur Windows 8.1

[UWP] Bilder bemalen mit dem InkCanvas Read More »