Freigeben über


PropertyGrid.CanShowCommands-Eigenschaft

Ruft einen Wert ab, der angibt, ob der Befehlsbereich für die derzeit ausgewählten Objekte sichtbar gemacht werden kann.

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

Syntax

'Declaration
Public Overridable ReadOnly Property CanShowCommands As Boolean
'Usage
Dim instance As PropertyGrid
Dim value As Boolean

value = instance.CanShowCommands
public virtual bool CanShowCommands { get; }
public:
virtual property bool CanShowCommands {
    bool get ();
}
/** @property */
public boolean get_CanShowCommands ()
public function get CanShowCommands () : boolean

Eigenschaftenwert

true, wenn der Befehlsbereich sichtbar gemacht werden kann, andernfalls false.

Hinweise

Die Eigenschaft ist true, wenn CommandsVisibleIfAvailable den Wert true hat und für das Objekt Befehle verfügbar sind.

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