WindowsFormsHost.EnableWindowsFormsInterop 메서드

정의

Form이 WPF에서 모덜리스 폼으로 열리는 경우 제대로 작동하게 합니다.

public:
 static void EnableWindowsFormsInterop();
public static void EnableWindowsFormsInterop ();
static member EnableWindowsFormsInterop : unit -> unit
Public Shared Sub EnableWindowsFormsInterop ()

설명

호출을 EnableWindowsFormsInterop 모두 전달 하는 방법 경우 키보드 메시지를 System.Windows.Forms.Form 모덜리스 폼으로 열리는 합니다. EnableWindowsFormsInterop 방법은 WPF에서 열리는 경우 제대로 작동 하려면 모덜리스 폼에 필요한 메시지 필터를 설치 합니다. 특정 작업에 대해이 메서드를 한 번만 호출 해야 WindowsFormsHost 인스턴스.

적용 대상

추가 정보