CursorInteropHelper.Create(SafeHandle) 메서드

정의

제공된 Win32 커서 핸들을 기반으로 WPF(Windows Presentation Foundation) 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

상호 운용에 사용할 커서 참조입니다.

반환

Cursor

제공된 Win32 커서 핸들을 기반으로 하는 WPF(Windows Presentation Foundation) 커서 개체입니다.

특성

설명

사용자 지정 커서 이미지를 설정하려면 순수 WPF 프로그래밍에서 수행되더라도 보안 권한이 필요합니다. Cursor을 참조하세요.

적용 대상

추가 정보