I have the following enum.
public enum DATABASE_TYPES
{
JDataStore, Access, SQLServer, H2, PostGresSQL, MySQL
};
I would like to bind it to a WPF combo box.
I have tried:
cmb.ItemsSource = DATABASE_TYPES;
but get the error:
'ConfigGui.MainWindow.DATABASE_TYPES' is a 'type' but is used like a 'variable'