Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class RecurrenceChoiceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseSchedulerDialogViewModelRecurrenceChoiceDialogViewModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the RecurrenceChoiceDialogViewModel class.
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, bool?, bool> confirmDialogClose, CultureInfo culture)
The dialog window.
occurrenceOccurrenceThe edited occurrence.
modeRecurrenceChoiceDialogModeThe action mode.
confirmDialogCloseFunc<SchedulerDialogViewModel, bool?, bool>The confirmation callback.
cultureCultureInfoThe culture used to create the RecurrenceDialogViewModel.
Initializes a new instance of the RecurrenceChoiceDialogViewModel class.
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, bool?, bool> confirmDialogClose)
The dialog window.
occurrenceOccurrenceThe edited occurrence.
modeRecurrenceChoiceDialogModeThe action mode.
confirmDialogCloseFunc<SchedulerDialogViewModel, bool?, bool>The confirmation callback.
Properties
The ViewModel which is used as DataContext for the recurrence choice dialog.
public RecurrenceDialogViewModel DialogViewModel { get; set; }
Determines whether current selected recurrence mode is Occurrence or not.
public bool? IsOccurrenceModeSelected { get; set; }
Determines whether current selected recurrence mode is Series or not.
public bool? IsSeriesModeSelected { get; set; }
The edited occurrence.
public Occurrence Occurrence { get; set; }
Gets or sets the mode of the recurrence choice dialog.
public RecurrenceChoiceDialogMode RecurrenceChoiceDialogMode { get; set; }
The recurrence mode which is currently selected.
public RecurrenceMode SelectedRecurrenceMode { get; set; }
Methods
Apply all changes in the dialog to the Occurrence.
Confirms the changes on the dialog ViewModel.