Muokkaa

Jaa


PropertyGrid.BrowsableAttributes Property

Definition

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

public:
 property System::ComponentModel::AttributeCollection ^ BrowsableAttributes { System::ComponentModel::AttributeCollection ^ get(); void set(System::ComponentModel::AttributeCollection ^ value); };
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.AttributeCollection BrowsableAttributes { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.BrowsableAttributes : System.ComponentModel.AttributeCollection with get, set
Public Property BrowsableAttributes As AttributeCollection

Property Value

The collection of browsable attributes associated with the object.

Attributes

Remarks

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.

Applies to

See also