語言

WindowInteropHelper(Window) 建構函式

定義

初始化該類別的新實例 WindowInteropHelper ,以設定指定的 Windows Presentation Foundation(WPF)視窗。

public:
 WindowInteropHelper(System::Windows::Window ^ window);
public WindowInteropHelper(System.Windows.Window window);
new System.Windows.Interop.WindowInteropHelper : System.Windows.Window -> System.Windows.Interop.WindowInteropHelper
Public Sub New (window As Window)

參數

window
Window

一個 WPF 視窗物件。

備註

視窗可以是對話框,或是不適合在 Win32 應用程式範圍內託管的視窗。

適用於