[MonoDevelop] Property default value for custom widget

Ганьков Андрей gankov.andrey at inbox.ru
Mon Aug 5 20:23:16 UTC 2013


David thanks for answer.
> The DefaultValue attribute tells the editor what the property should 
> be reset to if the user resets it.
May be i don't understand, how can i reset it? And yes, i want tell the 
editor what the value should be set by default. When i drag and drop my 
widget from Toolbox to Designer i want what property will be set.
> If you want the property to start out as true, you need to set it to 
> true in the field initializer or constructor.
It take only run-time.

-- 
Andrey Gankov
Mail:gankov.andrey at inbox.ru
ICQ: 230-684-976
Jabber:gankov at jabber.ru



More information about the Monodevelop-list mailing list