PropertyGrid.BrowsableAttributes Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 1.1
Return to top