PropertyGrid.BrowsableAttributes Proprietà

Definizione

Ottiene o imposta gli attributi esplorabili associati all'oggetto a cui è associata la griglia delle proprietà.

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

Valore della proprietà

Raccolta di attributi esplorabili associati all'oggetto .

Attributi

Commenti

Solo le proprietà con attributi corrispondenti ai valori specificati vengono visualizzate in PropertyGrid. Il valore predefinito è un oggetto AttributeCollection contenente solo BrowsableAttribute.Yes.

L'assegnazione di una raccolta di attributi vuota o causa null la creazione di un nuovo AttributeCollection oggetto con BrowsableAttribute.Yes set.

Si applica a

Vedi anche