Freigeben über


AmbientProperties.Cursor-Eigenschaft

Ruft den Ambient-Cursor eines Objekts ab oder legt diesen fest.

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

Syntax

'Declaration
Public Property Cursor As Cursor
'Usage
Dim instance As AmbientProperties
Dim value As Cursor

value = instance.Cursor

instance.Cursor = value
public Cursor Cursor { get; set; }
public:
property Cursor^ Cursor {
    Cursor^ get ();
    void set (Cursor^ value);
}
/** @property */
public Cursor get_Cursor ()

/** @property */
public void set_Cursor (Cursor value)
public function get Cursor () : Cursor

public function set Cursor (value : Cursor)

Eigenschaftenwert

Ein Cursor, der den Cursor eines Objekts darstellt.

Hinweise

Wenn kein Ambient-Cursor vorhanden ist, ist der Wert der Cursor-Eigenschaft NULL (Nothing in Visual Basic).

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

AmbientProperties-Klasse
AmbientProperties-Member
System.Windows.Forms-Namespace
System.Windows.Forms.Cursor
Control.Cursor