Altering the properties
Because this is a very simple overview I'll
just do a couple of the properties, but you will quickly get the idea.
There are a variety of attributes that are
available for you to use for your properties (since attributes in VS.NET are
mainly only for properties and events) and the most common are summarized in the
following table -
Attribute |
Description |
BrowsableAttribute |
Specifies weather the
property or event is displayed in the property window or not. |
CategoryAttribute |
Specifies the category to
put the property or event under (can be an existing or a new category). |
DescriptionAttribute |
Specifies the description
text for the property or event. |
DefaultPropertyAttribute |
Specifies the default
property that is selected in the property window when the control is
selected. You set this attribute for the class, not the property. |
There are many other attributes that you can
use which you can see
here.