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

Contains state information about the dialog that is going to be closed.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class CloseDialogEventArgs : DialogEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsDialogEventArgsCloseDialogEventArgs

Inherited Members DialogEventArgs.DialogViewModelCancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the CloseDialogEventArgs class.

C#
public CloseDialogEventArgs(RoutedEvent routedEvent, SchedulerDialogViewModel dialogViewModel, bool? dialogResult)
Parameters:routedEventRoutedEvent

The routed event.

dialogViewModelSchedulerDialogViewModel

The view model of the dialog to be closed.

dialogResultbool?

The dialog result of the dialog to be closed.

Properties

Gets the DialogResult when closing the dialog. Null - escape or close button is clicked. True - enter or OK button is clicked. False - Cancel button is clicked.

C#
public bool? DialogResult { get; }