DesignerCategoryAttribute Class |
Namespace: System.ComponentModel
public sealed class DesignerCategoryAttribute : Attribute
The DesignerCategoryAttribute type exposes the following members.
Name | Description | |
---|---|---|
DesignerCategoryAttribute |
Initializes a new instance of the System.ComponentModel.DesignerCategoryAttribute
class with an empty string ("").
| |
DesignerCategoryAttribute(String) |
Initializes a new instance of the System.ComponentModel.DesignerCategoryAttribute
class with the given category name.
|
Name | Description | |
---|---|---|
Equals |
Returns whether the value of the given object is equal to the current System.ComponentModel.DesignOnlyAttribute.
(Overrides AttributeEquals(Object).) | |
GetHashCode |
Returns the hash code for this instance.
(Overrides AttributeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDefaultAttribute |
Determines if this attribute is the default.
(Overrides AttributeIsDefaultAttribute.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Component |
Specifies that a component marked with this category use a component designer.
This field is read-only.
| |
Default |
Specifies that a component marked with this category cannot use a visual
designer. This static field is read-only.
| |
Form |
Specifies that a component marked with this category use a form designer.
This static field is read-only.
| |
Generic |
Specifies that a component marked with this category use a generic designer.
This static field is read-only.
|
Name | Description | |
---|---|---|
Category |
Gets the name of the category.
| |
TypeId |
Gets a unique identifier for this attribute.
(Overrides AttributeTypeId.) |