Freigeben über


PropertyGrid.BrowsableAttributes-Eigenschaft

Ruft die browsebaren Attribute ab, die dem Objekt zugeordnet sind, dem das Eigenschaftenraster angefügt ist, oder legt diese fest.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Property BrowsableAttributes As AttributeCollection
'Usage
Dim instance As PropertyGrid
Dim value As AttributeCollection

value = instance.BrowsableAttributes

instance.BrowsableAttributes = value
public AttributeCollection BrowsableAttributes { get; set; }
public:
property AttributeCollection^ BrowsableAttributes {
    AttributeCollection^ get ();
    void set (AttributeCollection^ value);
}
/** @property */
public AttributeCollection get_BrowsableAttributes ()

/** @property */
public void set_BrowsableAttributes (AttributeCollection value)
public function get BrowsableAttributes () : AttributeCollection

public function set BrowsableAttributes (value : AttributeCollection)

Eigenschaftenwert

Die dem Objekt zugeordnete Auflistung browsebarer Attribute.

Hinweise

Im PropertyGrid werden nur Eigenschaften mit Attributen angezeigt, die mit den angegebenen Werten übereinstimmen. Der Standardwert ist eine AttributeCollection, die nur BrowsableAttribute.Yes enthält.

Durch Zuweisen einer Attributauflistung, die leer oder NULL (Nothing in Visual Basic) ist, wird eine neue AttributeCollection erstellt, für die BrowsableAttribute.Yes festgelegt ist.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

PropertyGrid-Klasse
PropertyGrid-Member
System.Windows.Forms-Namespace
AttributeCollection
BrowsableAttribute