BrowsableAttribute

BrowsableAttribute

System.ComponentModel (system.dll) sealed class

This attribute class is applied to properties to indicate whether they should be shown in a designer. Note that unattributed properties are visible by default.

Use the Browsable property to determine the state of the attribute. Note that the constructor takes a Boolean value, but you can compare instances against the Yes or No values for equality.

 public sealed class  BrowsableAttribute  : Attribute {  // Public Constructors  public  BrowsableAttribute  (bool  browsable  );  // Public Static Fields  public static readonly BrowsableAttribute  Default  ;  // =System.ComponentModel.BrowsableAttribute  public static readonly BrowsableAttribute  No  ;  // =System.ComponentModel.BrowsableAttribute  public static readonly BrowsableAttribute  Yes  ;  // =System.ComponentModel.BrowsableAttribute   // Public Instance Properties  public bool  Browsable  {get; }  // Public Instance Methods  public override bool  Equals  (object  obj  );  // overrides Attribute  public override int  GetHashCode  ();  // overrides Attribute  public override bool  IsDefaultAttribute  ();  // overrides Attribute  } 

Hierarchy

System.Object System.Attribute BrowsableAttribute

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