CursorInteropHelper.Create(SafeHandle) Methode

Definitie

Retourneert een Windows Presentation Foundation (WPF) Cursor-object op basis van een meegeleverde Win32-cursorgreep.

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

Parameters

cursorHandle
SafeHandle

Cursorverwijzing die moet worden gebruikt voor interoperation.

Retouren

Het cursorobject Windows Presentation Foundation (WPF) op basis van de meegeleverde Win32-cursorgreep.

Kenmerken

Opmerkingen

Voor het instellen van een aangepaste cursorafbeelding zijn beveiligingsmachtigingen vereist, zelfs als dit gebeurt in pure WPF programmeren. Zie Cursor.

Van toepassing op

Zie ook