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