Specifies whether a property, or event can be modified at design time.
Object
Attribute
MemberAttribute
BrowsableAttribute
[Visual Basic] Public Class BrowsableAttribute Inherits MemberAttribute [C#] public class BrowsableAttribute : MemberAttribute [C++] public __gc class BrowsableAttribute : public MemberAttribute [JScript] public class BrowsableAttribute extends MemberAttribute
A visual designer typically displays in the property browser those members that either have no browsable attribute or are marked with Browsable(true). These members can be modified at design time. Members marked with Browsable(false) are not appropriate for design-time editing and therefore are not displayed in a visual designer. The default is true.
Note When you mark a property with Browsable(true), the value of this attribute is set to the constant member BrowsableAttribute.Yes. For a property marked with Browsable(false), the value is BrowsableAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as BrowsableAttribute.Yes or BrowsableAttribute.No.
For more information, see TBD and TBD.
Namespace: System.ComponentModel
Assembly: System.dll
System.ComponentModel Namespace | MemberAttribute | PropertyDescriptor | EventDescriptor