CursorInteropHelper.Create(SafeHandle) メソッド

定義

指定された Win32 カーソル ハンドルに基づいて、Windows Presentation Foundation (WPF) Cursor オブジェクトを返します。

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

パラメーター

cursorHandle
SafeHandle

相互運用に使用するカーソル参照。

返品

指定された Win32 カーソル ハンドルに基づくWindows Presentation Foundation (WPF) カーソル オブジェクト。

属性

注釈

カスタム カーソル イメージを設定するには、純粋なWPF プログラミングで行った場合でも、セキュリティアクセス許可が必要です。 Cursorを参照してください。

適用対象

こちらもご覧ください