Expand Minimize

PropertyGrid.BrowsableAttributes Property

Gets or sets the browsable attributes associated with the object that the property grid is attached to.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public AttributeCollection BrowsableAttributes { get; set; }

Property Value

Type: System.ComponentModel.AttributeCollection
The collection of browsable attributes associated with the object.

Only properties with attributes matching the values specified are displayed in the PropertyGrid. The default is an AttributeCollection containing only BrowsableAttribute.Yes.

Assigning an attribute collection that is empty or is null causes a new AttributeCollection to be created with BrowsableAttribute.Yes set.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft