EditorAttribute

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



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net