bovender framework
C# framework that implements MVVM and more
Bovender.Extensions.WindowExtensions Class Reference

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...
 

Detailed Description

Extension methods for the WPF Window class.

Definition at line 27 of file WindowExtensions.cs.

Member Function Documentation

static void Bovender.Extensions.WindowExtensions.SetOwnerForm ( this Window  window,
IntPtr  ownerForm 
)
inlinestatic

Make a Windows Form the Owner of a WPF Window.

Parameters
ownerFormWindows Forms handle that will be used as the owner of the WPF window.

Definition at line 36 of file WindowExtensions.cs.

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.

Definition at line 49 of file WindowExtensions.cs.

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.

Definition at line 70 of file WindowExtensions.cs.

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.

Definition at line 95 of file WindowExtensions.cs.

static void Bovender.Extensions.WindowExtensions.ShowInForm ( this Window  window)
inlinestatic

Shows the Window as a dialog that belongs to a Windows form parent.

Parameters
windowWPF window who's Windows forms owner to set.

Definition at line 116 of file WindowExtensions.cs.


The documentation for this class was generated from the following file: