Enums & VS.NET Properties Panel - How allow enum to be edited?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a usercontrol with a settable enum. How do I allow the user to edit
the enum through VS.NET's property panel?

The enum shows up, but it's not currently editable.

Thanks.
 
Hi all,

I have a usercontrol with a settable enum. How do I allow the user to edit
the enum through VS.NET's property panel?

The enum shows up, but it's not currently editable.

Thanks.

hmmm... The property is not readonly? Because, if I do that, I get a
drop down with the enum values populated. I don't have to do anything
at all.
 
hmmm... The property is not readonly? Because, if I do that, I get a
drop down with the enum values populated. I don't have to do anything
at all.

You're right!

I didn't notice I had set the SET to PRIVATE :-)
 
Back
Top