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

Contains information about the dialog which is going to be shown.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class ShowDialogEventArgs : DialogEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsDialogEventArgsShowDialogEventArgs

Inherited Members DialogEventArgs.DialogViewModelCancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the ShowDialogEventArgs class.

C#
public ShowDialogEventArgs(RoutedEvent routedEvent, object source, SchedulerDialogViewModel viewModel)
Parameters:routedEventRoutedEvent

The routed event.

sourceobject

The source.

viewModelSchedulerDialogViewModel

The view model of the dialog to be shown.

Initializes a new instance of the ShowDialogEventArgs class.

C#
public ShowDialogEventArgs(RoutedEvent routedEvent, SchedulerDialogViewModel viewModel)
Parameters:routedEventRoutedEvent

The routed event.

viewModelSchedulerDialogViewModel

The view model of the dialog to be shown.

Properties

Gets or sets the default dialog result of the window.

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