Yet another question from a controls newbie. I have a Verb which pops up a
dialog and allows users to customize my control. Is there a built in way to
persist users' entries? (similar to that of customizing a .NET DataGrid
control). Where does that info get stored? Thank you.
Why are you not using the default propertygrid to customize your control and
chose to use a custom dialog?
If your custom properties are simple ones, collection types being the
complex ones, you should just use the DesignerSerializationVisibility
attribute for the said properties, making it Visible for simple types and
Content for collection types for it to be persisted...
try this helpful link:
http://www.awprofessional.com/articles/printerfriendly.asp?p=169528
> Yet another question from a controls newbie. I have a Verb which pops up a
> dialog and allows users to customize my control. Is there a built in way to
> persist users' entries? (similar to that of customizing a .NET DataGrid
> control). Where does that info get stored? Thank you.
Serg - 26 Nov 2004 21:42 GMT
Joey this is a great article, thanks very much for your help. What I needed
to do was to call RaiseComponentChanged. The reason I am using a verb to set
one of my properties is that it is a bitmask, so I can display each bit as a
checkbox in the custom form (from the verb event handler). Thanks again.
> Why are you not using the default propertygrid to customize your control and
> chose to use a custom dialog?
[quoted text clipped - 11 lines]
> > persist users' entries? (similar to that of customizing a .NET DataGrid
> > control). Where does that info get stored? Thank you.
joeycalisay - 29 Nov 2004 01:07 GMT
no problem...
> Joey this is a great article, thanks very much for your help. What I needed
> to do was to call RaiseComponentChanged. The reason I am using a verb to set
[quoted text clipped - 16 lines]
> > > persist users' entries? (similar to that of customizing a .NET DataGrid
> > > control). Where does that info get stored? Thank you.