Hopefully this is an easy one, but I'm just not getting it...
Let's say I expose a BorderStyle property of my control, like this:
<Category("Appearance"), DefaultValue(BorderStyle.Fixed3D), Browsable(True), Description("Indicates whether or not the edit control should have a border.")> _
Public Property TextBorderStyle() As BorderStyle
Set(ByVal Value As BorderStyle)
Me.BorderStyle = Value
You'll notice that the DefaultValue is "BorderStyle.Fixed3D". This is the borderstyle that is showing up in the property browser, but it still showing as bolded, as if it has changed. How do I set this correctly so that it shows as the default?
Also, how would I do this with Colors? For example, if I try to expose a color property, and do this:
This the IDE complains that I'm not using a Const - ugh!