Any real world appliation would like bind the Enum values to a ComboBox. So it is always better to have common code that will do the logic. Below, I have a helper class which exposed a property to get the enum type, so that I can resolve the enum values. 1: public static Type GetEnum(DependencyObject... Continue Reading →
Bind System Font Families to Combo Box in XAML.
Populating the WPF ComboBox with System Font Families is so easy and can be done in XAML without code behind. Also to show each Font Item with its own corresponding Font Family, just modifying the Item template will make the magic. Happy coding...