I want to get the Enum values into a DropDown list (WPF Binding), but the values should include characters like Spaces and Forward-Slashes which is not allowed in Enum Values, I guess there is a way to get a modified value binding or set an Attribute to each value,
This is my Enum:
public enum CurrencyPair
{
JPY_EUR = 1,
USD_NZD = 2,
EUR_AUD = 3,
}
It's definitely different than the duplicate-marked question, because yes I found the answer there, but my question was in a position that I don't know how to search for it - since I didn't know what Attribute is needed for this purpose...