all groups > dotnet windows forms designtime > november 2006 >
You're in the

dotnet windows forms designtime

group:

How to avoid serializing complex proprty by designer !


How to avoid serializing complex proprty by designer ! zofcentr
11/13/2006 2:07:01 AM
dotnet windows forms designtime:
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
Re: How to avoid serializing complex proprty by designer ! Bryan Phillips
1/17/2007 12:54:36 AM
Are you using the DefaultValue attribute on the property?

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



[quoted text, click to view]
AddThis Social Bookmark Button