DekGenius.com
[ Team LiB ] Previous Section Next Section

EditorAttribute

System.ComponentModel (system.dll)sealed class

You can decorate a specific property, or an entire, class with this attribute to indicate a custom editor that should be used to modify the type. Similar to DesignerAttribute, you can specify EditorTypeName, and EditorBaseTypeName. Note that this must be System.Drawing.Design.UITypeEditor.

See System.Drawing.Design.UITypeEditor for more details.

public sealed class EditorAttribute : Attribute {
// Public Constructors
   public EditorAttribute();
   public EditorAttribute(string typeName, string baseTypeName);
   public EditorAttribute(string typeName, Type baseType);
   public EditorAttribute(Type type, Type baseType);
// Public Instance Properties
   public string EditorBaseTypeName{get; }
   public string EditorTypeName{get; }
   public override object TypeId{get; }
// overrides Attribute
// Public Instance Methods
   public override bool Equals(object obj);  // overrides Attribute
   public override int GetHashCode();  // overrides Attribute
}

Hierarchy

System.Object System.Attribute EditorAttribute

Valid On

All

    [ Team LiB ] Previous Section Next Section