System.ComponentModel.EditorAttribute Class

Specifies the editor to use to change a property. This class cannot be inherited.

See Also: EditorAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=true)]
public sealed class EditorAttribute : Attribute

Remarks

When editing the property, a visual designer should create a new instance of the specified editor through a dialog box or drop-down window.

Use the EditorAttribute.EditorBaseTypeName property to find this editor's base type. The only available base type is System.Drawing.Design.UITypeEditor.

Use the EditorAttribute.EditorTypeName property to get the name of the type of editor associated with this attribute.

For general information on using attributes. see Extending Metadata Using Attributes. For more information on design-time attributes, see Attributes and Design-Time Support.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0