CursorInteropHelper.Create(SafeHandle) Metoda

Definicja

Zwraca obiekt Windows Presentation Foundation (WPF) Cursor na podstawie dostarczonego 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 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 jeśli odbywa się to w czystym programowaniu WPF. Zobacz: .

Dotyczy

Zobacz też