CursorInteropHelper.Create(SafeHandle) Methode

Definition

Gibt ein Windows Presentation Foundation (WPF) Cursor -Objekt basierend auf einem bereitgestellten Win32-Cursorziehpunkt zurück.

public:
 static System::Windows::Input::Cursor ^ Create(System::Runtime::InteropServices::SafeHandle ^ cursorHandle);
[System.Security.SecurityCritical]
public static System.Windows.Input.Cursor Create(System.Runtime.InteropServices.SafeHandle cursorHandle);
public static System.Windows.Input.Cursor Create(System.Runtime.InteropServices.SafeHandle cursorHandle);
[<System.Security.SecurityCritical>]
static member Create : System.Runtime.InteropServices.SafeHandle -> System.Windows.Input.Cursor
static member Create : System.Runtime.InteropServices.SafeHandle -> System.Windows.Input.Cursor
Public Shared Function Create (cursorHandle As SafeHandle) As Cursor

Parameter

cursorHandle
SafeHandle

Cursorverweis, der für die Interoperabilität verwendet werden soll.

Gibt zurück

Das cursorobjekt Windows Presentation Foundation (WPF) basierend auf dem bereitgestellten Win32-Cursorziehpunkt.

Attribute

Hinweise

Das Festlegen eines benutzerdefinierten Cursorimages erfordert Sicherheitsberechtigungen, auch wenn es in reinem WPF Programmierung erfolgt ist. Siehe Cursor.

Gilt für:

Weitere Informationen