Bind Enum to a WPF ListBox using ObjectDataProvider

added by gracekolen
7/27/2010 7:10:20 AM

3 Kicks, 143 Views

The Enum.GetValues() method retrieves an array of the values of the constants in an Enum. Let us see how to use this method and bind an Enumeration to a WPF ListBox using the ObjectDataProvider.