System.Windows.Forms.PropertyGrid.BrowsableAttributes Property

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

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.AttributeCollection BrowsableAttributes { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0