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 …