Skip to main content

WPF – Enum Binding in a ComboBox – The Classic Way

Enum binding to combobox

Hello Devz, I had to write this post about how to do an Enum binding to a ComboBox, because everytime I need it, I’m surprised there is no “out-of-the-box” solution provided in WPF or Xamarin.Forms.

Please notice this line: xmlns:sys=”clr-namespace:System;assembly=mscorlib” And the ObjectDataProvider in the Window.Resources. With a simple Enum called StatusEnum:

So this was the […]