How does one tell the designer the default value of a Property when it is not one of the types supported by DefaultValue()? For instance, a Padding, or
DefaultValue()
Padding
Try this:
[DefaultValue( typeof( Padding ), "2, 2, 2, 2" )] public Padding LabelPadding { get { return _labelPadding; } set { _labelPadding = value; } }