Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DesignerCategoryAttribute

Assembly: System.ComponentModel.Primitives

Inheritance: object → Attribute → DesignerCategoryAttribute

Specifies that the designer for a class belongs to a certain category.

Fields and Constants

public static readonly DesignerCategoryAttribute
Component
Specifies that a component marked with this category use a component designer. This field is read-only.
public static readonly DesignerCategoryAttribute
Default
Specifies that a component marked with this category cannot use a visual designer. This <see langword="static" /> field is read-only.
public static readonly DesignerCategoryAttribute
Form
Specifies that a component marked with this category use a form designer. This <see langword="static" /> field is read-only.
public static readonly DesignerCategoryAttribute
Generic
Specifies that a component marked with this category use a generic designer. This <see langword="static" /> field is read-only.

Properties

public string
Category
Gets the name of the category.
public object
TypeId
Gets a unique identifier for this attribute.

Methods

public bool
Equals​(object obj)
Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DesignOnlyAttribute" /> .
Returns <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" /> .
obj The object to test the value equality of.
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A 32-bit signed integer hash code.
public bool
IsDefaultAttribute​()
Determines if this attribute is the default.
Returns <see langword="true" /> if the attribute is the default value for this attribute class; otherwise, <see langword="false" /> .
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object