Friday, 6 September 2013

Browsable(false) with DesignerSerializationVisibility(Content)

Browsable(false) with DesignerSerializationVisibility(Content)

Is it possible to keep a property completely hidden from the property grid
but still serialized by the designer?
I have a Parent property on a tray component that sets itself to the
form's instance using the designer service from ISite. It gets serialized
fine, but it bugs me that it shows up in the property grid even with
Browsable(false) applied to it.
Are there custom designer tricks, or even custom code generation options?

No comments:

Post a Comment