次の方法で共有


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

適用対象

こちらもご覧ください