Język

CursorInteropHelper.Create(SafeHandle) Metoda

Definicja

Zwraca obiekt Windows Presentation Foundation (WPF) Cursor na podstawie podanego uchwytu kursora Win32.

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

Parametry

cursorHandle
SafeHandle

Odwołanie do kursora do użycia na potrzeby współdziałania.

Zwraca

Obiekt kursora Windows Presentation Foundation (WPF) na podstawie dostarczonego uchwytu kursora Win32.

Atrybuty

Uwagi

Ustawienie niestandardowego obrazu kursora wymaga uprawnień zabezpieczeń nawet w przypadku czystej WPF programowania. Zobacz: Cursor.

Dotyczy

Zobacz też