New to Telerik UI for WPFStart a free 30-day trial

WindowClosingEventArgs exposes DialogResult and PromptResult property for handling the closing event of a window.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class WindowPreviewClosedEventArgs : EventArgs

Inheritance: objectEventArgsWindowPreviewClosedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the WindowPreviewClosedEventArgs class.

C#
public WindowPreviewClosedEventArgs()

Properties

Gets or sets a value indicating whether the RadWindow closing will be canceled.

C#
public bool? Cancel { get; set; }