RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..IsWindowClosing Method

Determines whether [is window closing] [the specified new focus].

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


public static bool IsWindowClosing(
	this Window hostWindow,
	IInputElement newFocus
)
<ExtensionAttribute> _
Public Shared Function IsWindowClosing ( _
	hostWindow As Window, _
	newFocus As IInputElement _
) As Boolean
[ExtensionAttribute]
public:
static bool^ IsWindowClosing(
	Window^ hostWindow, 
	IInputElement^ newFocus
)

Parameters

hostWindow
Type: Window
The host window.
newFocus
Type: IInputElement
The new focus.

Return Value

true if [is window closing] [the specified new focus]; otherwise, false.