R
Ray Cassick
I am looking for a way to hide a property I created on a user control from a
property grid at runtime but allow it to be seen at design time.
Any ideas?
I tried setting the category of the property to 'Design' and that does not
do it.
I tried adding the 'DesignOnly' attribute and that does not do it.
I am about to break out Reflector and have a peek myself to see if I can
find it from the libraries themselves because as best I can tell the
Usercontrol base class does it for the Name, GenerateMember, Locked, and
Modifiers properties. I just want to tack my property in there.
Hmmmm
property grid at runtime but allow it to be seen at design time.
Any ideas?
I tried setting the category of the property to 'Design' and that does not
do it.
I tried adding the 'DesignOnly' attribute and that does not do it.
I am about to break out Reflector and have a peek myself to see if I can
find it from the libraries themselves because as best I can tell the
Usercontrol base class does it for the Name, GenerateMember, Locked, and
Modifiers properties. I just want to tack my property in there.
Hmmmm