Click here to Skip to main content
12,500,835 members (45,256 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

3.4K views
Posted

Using human readable enum values in a ComboBox

, 3 Feb 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
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[^]

License

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

Share

About the Author

jim lahey
Software Developer (Senior)
United Kingdom United Kingdom
First batch file in 1987

Messed around with the Bullfrog C++ Libraries for Syndicate in 1994

Web Developer since 2000

.net Developer since 2001

MCTS: Microsoft® .NET Framework 2.0 - Web-based Client Development

MCTS: Web Applications Development with Microsoft .NET Framework 4

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160919.1 | Last Updated 3 Feb 2012
Article Copyright 2012 by jim lahey
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid