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

Represents the view model for the confirmation dialog.

Definition

Constructors

Initializes a new instance of the ConfirmDialogViewModel class.

C#
public ConfirmDialogViewModel(IScheduleViewDialogHost dialogHost, IEnumerable<IOccurrence> appointments, Func<SchedulerDialogViewModel, bool?, bool> confirmDialogClose)
Parameters:dialogHostIScheduleViewDialogHost

The ScheduleViewDialogHost.

appointmentsIEnumerable<IOccurrence>

The appointments.

confirmDialogCloseFunc<SchedulerDialogViewModel, bool?, bool>

The close callback.

Properties

Gets the appointments collection.

C#
public IEnumerable<IOccurrence> Appointments { get; }