Re: Force hidden property to serialize at design-time?
- From: "Carlo" <carlodevREMOVE@xxxxxxxxx>
- Date: Mon, 7 Nov 2005 15:30:52 +0100
Try this:
Private Function ShouldSerializeMyProperty() As Boolean
Return True
End Function
Replace "MyProperty" with the property name of the property you need to be
serialized. This is valid for any type.
HTH
Carlo
-------------------------------------------
Carlo, MCP (Windows Based Applications)
carlodevREMOVE@xxxxxxxxx
"Özden Irmak" <ozdenirmak(at)isnet.net.tr> ha scritto nel messaggio
news:%23byXEH64FHA.3636@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> My component has a string type of property which has set "Browsable"
> attribute to false...My custom property page does set/get that property
> and I want to force it to be serialized into code in Design-Time...
>
> I tried setting various "DesignerSerializationVisibility" atrribute values
> to that property but it didn't work...Can anybody help me?
>
> Regards,
>
> Özden
>
.
- Follow-Ups:
- Re: Force hidden property to serialize at design-time?
- From: Özden Irmak
- Re: Force hidden property to serialize at design-time?
- References:
- Force hidden property to serialize at design-time?
- From: Özden Irmak
- Force hidden property to serialize at design-time?
- Prev by Date: Force hidden property to serialize at design-time?
- Next by Date: DevExpress ComboEditBox problem in design time
- Previous by thread: Force hidden property to serialize at design-time?
- Next by thread: Re: Force hidden property to serialize at design-time?
- Index(es):