Freigeben über


ToolBarButton.Visible-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Symbolleisten-Schaltfläche sichtbar ist, oder legt diesen fest.

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

Syntax

'Declaration
<LocalizableAttribute(True)> _
Public Property Visible As Boolean
'Usage
Dim instance As ToolBarButton
Dim value As Boolean

value = instance.Visible

instance.Visible = value
[LocalizableAttribute(true)] 
public bool Visible { get; set; }
[LocalizableAttribute(true)] 
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Visible ()

/** @property */
public void set_Visible (boolean value)
public function get Visible () : boolean

public function set Visible (value : boolean)

Eigenschaftenwert

true, wenn die Symbolleisten-Schaltfläche sichtbar ist, andernfalls false. Der Standardwert ist true.

Hinweise

Wenn die Symbolleisten-Schaltfläche nicht sichtbar ist, wird sie nicht auf der Symbolleiste angezeigt und kann deshalb auch keine Benutzereingaben empfangen.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, 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

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

ToolBarButton-Klasse
ToolBarButton-Member
System.Windows.Forms-Namespace