WindowClosingArgs ClassDW.WPFToolkit Documentation
Holds the information if the window can be closed or not. If yes it holds also the information how the DialogResult has to be. This object is used by the WindowBehavior.
Inheritance Hierarchy

SystemObject
  SystemEventArgs
    DW.WPFToolkit.InteractivityWindowClosingArgs

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

C#
public class WindowClosingArgs : EventArgs

The WindowClosingArgs type exposes the following members.

Constructors

  NameDescription
Public methodWindowClosingArgs
Initializes a new instance of the WindowClosingArgs class.
Top
Properties

  NameDescription
Public propertyCancel
Gets or sets the value to define if the closing process has to be canceled and the window to stay open.
Public propertyDialogResult
Gets or sets the value which indicates how to close the dialog if Cancel is false. The default is true.
Top
See Also

Reference