I have some custom controls and I would like to set some of their propertys'
default values. I go to the property window for the property (AutoBackColor)
on the Class Diagram page and click the elipsis for the Custom Attributes
property. A box comes up and I enter
DefaultValue("bool", "true")
When I instantiate my custom control, the AutoBackColor property is set to
false!
It is very frustrating because I can not find any source for the proper
syntax for adding system attributes to C sharp programs in the Windows Mobile
5 platform.
Thanks,
Jim