Extension methods for the WPF Window class.
More...
|
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. This overload requires the TopLevelWindow property to be set. 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...
|
|
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. This overload requires the TopLevelWindow property to be set. 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...
|
|
|
static IntPtr | TopLevelWindow [get, set] |
| May hold the HWND of a Windows forms top-level window; if set, it is used to set a WPF window's owner by ViewModels that inject themselves into a WPF View. More...
|
|
Extension methods for the WPF Window class.
◆ SetOwnerForm() [1/2]
static void Bovender.Extensions.WindowExtensions.SetOwnerForm |
( |
this Window |
window, |
|
|
IntPtr |
ownerForm |
|
) |
| |
|
inlinestatic |
Make a Windows Form the Owner of a WPF Window.
- Parameters
-
ownerForm | Windows Forms handle that will be used as the owner of the WPF window. |
◆ SetOwnerForm() [2/2]
static void Bovender.Extensions.WindowExtensions.SetOwnerForm |
( |
this Window |
window, |
|
|
IntPtr |
ownerForm |
|
) |
| |
|
inlinestatic |
Make a Windows Form the Owner of a WPF Window.
- Parameters
-
ownerForm | Windows Forms handle that will be used as the owner of the WPF window. |
◆ ShowDialogInForm() [1/4]
static bool Bovender.Extensions.WindowExtensions.ShowDialogInForm |
( |
this Window |
window, |
|
|
IntPtr |
parentForm |
|
) |
| |
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
◆ ShowDialogInForm() [2/4]
static bool Bovender.Extensions.WindowExtensions.ShowDialogInForm |
( |
this Window |
window, |
|
|
IntPtr |
parentForm |
|
) |
| |
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
◆ ShowDialogInForm() [3/4]
static bool Bovender.Extensions.WindowExtensions.ShowDialogInForm |
( |
this Window |
window | ) |
|
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent. This overload requires the TopLevelWindow property to be set.
◆ ShowDialogInForm() [4/4]
static bool Bovender.Extensions.WindowExtensions.ShowDialogInForm |
( |
this Window |
window | ) |
|
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent. This overload requires the TopLevelWindow property to be set.
◆ ShowInForm() [1/4]
static void Bovender.Extensions.WindowExtensions.ShowInForm |
( |
this Window |
window, |
|
|
IntPtr |
parentForm |
|
) |
| |
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
◆ ShowInForm() [2/4]
static void Bovender.Extensions.WindowExtensions.ShowInForm |
( |
this Window |
window, |
|
|
IntPtr |
parentForm |
|
) |
| |
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
◆ ShowInForm() [3/4]
static void Bovender.Extensions.WindowExtensions.ShowInForm |
( |
this Window |
window | ) |
|
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
- Parameters
-
window | WPF window who's Windows forms owner to set. |
◆ ShowInForm() [4/4]
static void Bovender.Extensions.WindowExtensions.ShowInForm |
( |
this Window |
window | ) |
|
|
inlinestatic |
Shows the Window as a dialog that belongs to a Windows form parent.
- Parameters
-
window | WPF window who's Windows forms owner to set. |
◆ TopLevelWindow
IntPtr Bovender.Extensions.WindowExtensions.TopLevelWindow |
|
staticgetset |
May hold the HWND of a Windows forms top-level window; if set, it is used to set a WPF window's owner by ViewModels that inject themselves into a WPF View.
The documentation for this class was generated from the following file: