T
Tony Johansson
Hello!
In win form I could populate my combobox from an enum by using this
statement
cboHousing.Items.AddRange(Enum.GetNames(typeof(HousingType)));
but it seems that this is not possible in WPF because the combobox does not
have an AddRange method.
Is the only way to loop through and add each item to the combobox.
//Tony
In win form I could populate my combobox from an enum by using this
statement
cboHousing.Items.AddRange(Enum.GetNames(typeof(HousingType)));
but it seems that this is not possible in WPF because the combobox does not
have an AddRange method.
Is the only way to loop through and add each item to the combobox.
//Tony