class DesignerCategoryAttribute

in global :: System . ComponentModel

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


public DesignerCategoryAttribute( string category )

Initializes a new instance of the class with the given category name.

  • category The name of the category.

public string Category { get; }

Gets the name of the category.

  • Returns The name of the category.

public static DesignerCategoryAttribute Component

Specifies that a component marked with this category use a component designer. This field is read-only.

public static DesignerCategoryAttribute Default

Specifies that a component marked with this category cannot use a visual designer. This field is read-only.

public bool Equals( object obj )

Returns whether the value of the given object is equal to the current .

  • obj The object to test the value equality of.
  • Returns if the value of the given object is equal to that of the current; otherwise, .

public static DesignerCategoryAttribute Form

Specifies that a component marked with this category use a form designer. This field is read-only.

public static DesignerCategoryAttribute Generic

Specifies that a component marked with this category use a generic designer. This field is read-only.

public object TypeId { get; }

Gets a unique identifier for this attribute.

  • Returns An that is a unique identifier for the attribute.

public int GetHashCode( )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public DesignerCategoryAttribute( )

😔 No documentation found.