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:
[BrowsableAttribute(false)]
property AttributeCollection^ BrowsableAttributes {
	AttributeCollection^ get();
	void set(AttributeCollection^ value);
}

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
Show: