March 2003
Intermediate to advanced
896 pages
32h 35m
English
EditorAttribute
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 }
System.Object
→ System.Attribute → EditorAttribute
All
Read now
Unlock full access