Редактиране

Споделяне чрез


WindowInteropHelper(Window) Constructor

Definition

Initializes a new instance of the WindowInteropHelper class for a specified Windows Presentation Foundation (WPF) window.

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)

Parameters

window
Window

A WPF window object.

Remarks

The window can be a dialog box, or a window that is otherwise not suitable for being hosted within the bounds of a Win32 application.

Applies to