Click here to Skip to main content
15,928,983 members
Home / Discussions / C#
   

C#

 
Questionno white spaces in enum Pin
MVPenn23-Jan-07 6:32
MVPenn23-Jan-07 6:32 
AnswerRe: no white spaces in enum Pin
Dave Kreskowiak23-Jan-07 7:35
mveDave Kreskowiak23-Jan-07 7:35 
GeneralRe: no white spaces in enum Pin
MVPenn23-Jan-07 8:01
MVPenn23-Jan-07 8:01 
GeneralRe: no white spaces in enum Pin
Stefan Troschuetz23-Jan-07 8:26
Stefan Troschuetz23-Jan-07 8:26 
GeneralRe: no white spaces in enum Pin
Pete O'Hanlon23-Jan-07 9:10
mvePete O'Hanlon23-Jan-07 9:10 
GeneralRe: no white spaces in enum Pin
Wjousts23-Jan-07 9:11
Wjousts23-Jan-07 9:11 
GeneralRe: no white spaces in enum Pin
Dave Kreskowiak23-Jan-07 12:34
mveDave Kreskowiak23-Jan-07 12:34 
AnswerRe: no white spaces in enum Pin
e-laj23-Jan-07 13:02
e-laj23-Jan-07 13:02 
Hi MVPenn,

Create your own attribute (you may wish to call it EnumDescription).
You can find some examples over the net. For example:

Example
Recall that if you want to display friendly names for property name - you can use the "DisplayName" attribute.
Unfortunately, this attribute can not be applied for enum members. Hence (as i said before) have to create your own enum description attribute.

elaj
QuestionRegular Expression for getting links on a web page Pin
Laxmi2723-Jan-07 4:58
Laxmi2723-Jan-07 4:58 
AnswerRe: Regular Expression for getting links on a web page Pin
ednrgc23-Jan-07 5:12
ednrgc23-Jan-07 5:12 
QuestionForms Pin
gigo2k623-Jan-07 4:43
gigo2k623-Jan-07 4:43 
AnswerRe: Forms Pin
bobsugar22223-Jan-07 4:53
bobsugar22223-Jan-07 4:53 
AnswerRe: Forms Pin
Not Active23-Jan-07 4:54
mentorNot Active23-Jan-07 4:54 
GeneralRe: Forms Pin
gigo2k623-Jan-07 6:10
gigo2k623-Jan-07 6:10 
GeneralRe: Forms Pin
Dave Kreskowiak23-Jan-07 6:16
mveDave Kreskowiak23-Jan-07 6:16 
QuestionHow to prevent DataGridView from repainting? Pin
jzb23-Jan-07 3:25
jzb23-Jan-07 3:25 
AnswerRe: How to prevent DataGridView from repainting? Pin
mark_w_23-Jan-07 3:51
mark_w_23-Jan-07 3:51 
AnswerRe: How to prevent DataGridView from repainting? Pin
jesarg23-Jan-07 9:30
jesarg23-Jan-07 9:30 
QuestionDataReader Query Pin
mark_w_23-Jan-07 2:35
mark_w_23-Jan-07 2:35 
AnswerRe: DataReader Query Pin
PIEBALDconsult23-Jan-07 2:42
mvePIEBALDconsult23-Jan-07 2:42 
GeneralRe: DataReader Query Pin
mark_w_23-Jan-07 3:50
mark_w_23-Jan-07 3:50 
QuestionDirectory structure for solution Pin
Syed Muhammad Kamran23-Jan-07 2:24
Syed Muhammad Kamran23-Jan-07 2:24 
AnswerRe: Directory structure for solution Pin
Not Active23-Jan-07 2:49
mentorNot Active23-Jan-07 2:49 
GeneralRe: Directory structure for solution Pin
PIEBALDconsult23-Jan-07 3:22
mvePIEBALDconsult23-Jan-07 3:22 
GeneralRe: Directory structure for solution Pin
Not Active23-Jan-07 3:44
mentorNot Active23-Jan-07 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.