Re: How to avoid serializing complex proprty by designer !



Are you using the DefaultValue attribute on the property?

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



"zofcentr" <zofcentr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:EBDE323D-E518-43B9-8BB0-ACCFBDC6B6DD@xxxxxxxxxxxxx:

Hi
I have comlex property (complex means that type of property is a my own
object with many properties inside). I have created type coverter and
everything work fine except that designer always generates code for this
property even if I do not change default value of it. I would like to have
functionality like for font. For Font property designer generates code only
if I change something in font definition.

Thanks in advance
zofcentr

.