Click here to Skip to main content
15,890,282 members
Articles / Programming Languages / C#

Using human readable enum values in a ComboBox

Rate me:
Please Sign up or sign in to vote.
4.83/5 (16 votes)
31 Jan 2012CPOL 51.6K   15  
Sometimes, all I want is a control which allows the user to select one of several options, and tell me which one - ideally as a handy enum value. This shows a simple method which allows this.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

Comments and Discussions