I've a problem with my new application:
I've set the DataSource of a ComboBox to an enum, so the ComboBox displays all the members of the enum. Good!
But now I want to change the displayd text, but not the value of the ComboBox.
Here is the DataSource set:
CbCategory.DataSource = Enum.GetValues(typeof (ConversionCategories.Categorys));
And this is the enum:
public enum Categorys
{
Acceleration,
Area,
Energy,
Frequency,
Length,
Mass,
Time,
Velocity,
Volume,
}
And now for example I want "Velocity" is displayd as "Speed", but the value mustbe the same.
P.S: I don't use WPF.