CursorInteropHelper.Create(SafeHandle) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.