Extension methods for the WPF Window class. More...
Static Public Member Functions | |
| static void | SetOwnerForm (this Window window, IntPtr ownerForm) |
| Make a Windows Form the Owner of a WPF Window. More... | |
| static bool | ShowDialogInForm (this Window window, IntPtr parentForm) |
| Shows the Window as a dialog that belongs to a Windows form parent. More... | |
| static bool | ShowDialogInForm (this Window window) |
| Shows the Window as a dialog that belongs to a Windows form parent. More... | |
| static void | ShowInForm (this Window window, IntPtr parentForm) |
| Shows the Window as a dialog that belongs to a Windows form parent. More... | |
| static void | ShowInForm (this Window window) |
| Shows the Window as a dialog that belongs to a Windows form parent. More... | |
Extension methods for the WPF Window class.
Definition at line 27 of file WindowExtensions.cs.
|
inlinestatic |
Make a Windows Form the Owner of a WPF Window.
| ownerForm | Windows Forms handle that will be used as the owner of the WPF window. |
Definition at line 36 of file WindowExtensions.cs.
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
Definition at line 49 of file WindowExtensions.cs.
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
This overload requires the TopLevelWindow property to be set.
Definition at line 70 of file WindowExtensions.cs.
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
Definition at line 95 of file WindowExtensions.cs.
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
| window | WPF window who's Windows forms owner to set. |
Definition at line 116 of file WindowExtensions.cs.