class DesignerAttribute

in global :: System . ComponentModel

Specifies the class used to implement design-time services for a component.


public DesignerAttribute( string designerTypeName )

Initializes a new instance of the class using the name of the type that provides design-time services.

  • designerTypeName The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.

public DesignerAttribute( string designerTypeName, string designerBaseTypeName )

Initializes a new instance of the class using the designer type and the base class for the designer.

  • designerTypeName The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.
  • designerBaseTypeName The fully qualified name of the base class to associate with the designer class.

public DesignerAttribute( string designerTypeName, Type designerBaseType )

Initializes a new instance of the class, using the name of the designer class and the base class for the designer.

  • designerTypeName The concatenation of the fully qualified name of the type that provides design-time services for the component this attribute is bound to, and the name of the assembly this type resides in.
  • designerBaseType A that represents the base class to associate with the .

public DesignerAttribute( Type designerType )

Initializes a new instance of the class using the type that provides design-time services.

  • designerType A that represents the class that provides design-time services for the component this attribute is bound to.

public DesignerAttribute( Type designerType, Type designerBaseType )

Initializes a new instance of the class using the types of the designer and designer base class.

  • designerType A that represents the class that provides design-time services for the component this attribute is bound to.
  • designerBaseType A that represents the base class to associate with the .

public string DesignerBaseTypeName { get; }

Gets the name of the base type of this designer.

  • Returns The name of the base type of this designer.

public string DesignerTypeName { get; }

Gets the name of the designer type associated with this designer attribute.

  • Returns The name of the designer type associated with this designer attribute.

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 object TypeId { get; }

Gets a unique ID for this attribute type.

  • Returns A unique ID for this attribute type.

public int GetHashCode( )

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.