65.9K
CodeProject is changing. Read more.
Home

Using human readable enum values in a ComboBox

starIconstarIconstarIconstarIconstarIcon

5.00/5 (2 votes)

Feb 3, 2012

CPOL
viewsIcon

6550

While it's a good idea to provide more readable enum values, I'm not keen on this solution because it uses hard-coded values and isn't localizable.Please see my alternative tip on using extension methods and resource files to bind localized strings to enum values:Enum Display Extension[^]

While it's a good idea to provide more readable enum values, I'm not keen on this solution because it uses hard-coded values and isn't localizable. Please see my alternative tip on using extension methods and resource files to bind localized strings to enum values: Enum Display Extension[^]