See Also: DesignerCategoryAttribute Members
A visual designer can use a designer category to inform a development environment of the type of designer that will be implemented. If no designer category is provided on a class, a development environment may or may not allow the class to be designed. A category can be created for any name.
When you mark a class with this attribute, it is set to a constant member. When you want to check the value of this attribute in your code, you must specify the constant member. The Description column in the table below lists the constant member that each value is set to.
The System.ComponentModel.DesignerCategoryAttribute class defines the following common categories:
Designers that are used with components. The attribute is set to the constant member DesignerCategoryAttribute.Component.
Designers that are used with forms. The attribute is set to the constant member DesignerCategoryAttribute.Form.
Designers that are used with designers. The attribute is set to the constant member DesignerCategoryAttribute.Generic.
|Empty String ("")||
This is the default category.
For more information, see Extending Metadata Using Attributes.