WindowBehaviorGetClosingCommand Method DW.WPFToolkit Documentation
Gets the command from a window which get called when the window closes. A WindowClosingArgs is passed as a parameter to change the dialog result and cancel the close.

Namespace: DW.WPFToolkit.Interactivity
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public static ICommand GetClosingCommand(
	DependencyObject obj
)

Parameters

obj
Type: System.WindowsDependencyObject
The element from which the property value is read.

Return Value

Type: ICommand
The DW.WPFToolkit.Interactivity.WindowBehavior.ClosingCommand property value for the element.
See Also

Reference