I have a line color property in my custom grid control. I want it to default to Drawing.SystemColors.InactiveBorder
. I tried:
[DefaultValue(typeof(System.Drawing.SystemColors), "InactiveBorder")]
public Color LineColor { get; set; }
But it doesn't seem to work. How do I do that with the default value attribute?