16 private bool browsable =
true;
28 this.browsable = browsable;
35 public override bool Equals(
object obj)
42 if (browsableAttribute !=
null)
44 return browsableAttribute.
Browsable == browsable;
53 return browsable.GetHashCode();
Specifies whether a property or event should be displayed in a Properties window.
override bool Equals(object obj)
Indicates whether this instance and a specified object are equal.
Represents the base class for custom attributes.
static readonly BrowsableAttribute Yes
Specifies that a property or event can be modified at design time. This static field is read-only.
override bool IsDefaultAttribute()
Determines if this attribute is the default.
bool Browsable
Gets a value indicating whether an object is browsable.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
BrowsableAttribute(bool browsable)
Initializes a new instance of the T:System.ComponentModel.BrowsableAttribute class.
static readonly BrowsableAttribute Default
Specifies the default value for the T:System.ComponentModel.BrowsableAttribute, which is F:System....
static readonly BrowsableAttribute No
Specifies that a property or event cannot be modified at design time. This static field is read-only.
override int GetHashCode()
Returns the hash code for this instance.