Class RecurrenceChoiceDialogViewModel
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class RecurrenceChoiceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable
Constructors
RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost, Occurrence, RecurrenceChoiceDialogMode, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)
Initializes a new instance of the Recurrence
Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
ISchedule The dialog window. |
Occurrence
occurrence
The edited occurrence. |
Recurrence The action mode. |
System. The confirmation callback. |
RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost, Occurrence, RecurrenceChoiceDialogMode, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>, CultureInfo)
Initializes a new instance of the Recurrence
Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose, CultureInfo culture)
Parameters
ISchedule The dialog window. |
Occurrence
occurrence
The edited occurrence. |
Recurrence The action mode. |
System. The confirmation callback. |
System. The culture used to create the RecurrenceDialogViewModel. |
Properties
DialogViewModel
The ViewModel which is used as DataContext for the recurrence choice dialog.
Declaration
public RecurrenceDialogViewModel DialogViewModel { get; set; }
Property Value
IsOccurrenceModeSelected
Determines whether current selected recurrence mode is Occurrence or not.
Declaration
public Nullable<bool> IsOccurrenceModeSelected { get; set; }
Property Value
System.
|
IsSeriesModeSelected
Determines whether current selected recurrence mode is Series or not.
Declaration
public Nullable<bool> IsSeriesModeSelected { get; set; }
Property Value
System.
|
Occurrence
The edited occurrence.
Declaration
public Occurrence Occurrence { get; set; }
Property Value
RecurrenceChoiceDialogMode
Gets or sets the mode of the recurrence choice dialog.
Declaration
public RecurrenceChoiceDialogMode RecurrenceChoiceDialogMode { get; set; }
Property Value
SelectedRecurrenceMode
The recurrence mode which is currently selected.
Declaration
public RecurrenceMode SelectedRecurrenceMode { get; set; }
Property Value
Methods
GetUpdatedOccurrence()
Apply all changes in the dialog to the Occurrence.
Declaration
public Occurrence GetUpdatedOccurrence()
Returns
Occurrence
The updated recurrence. |
OnConfirmed(EventArgs)
Confirms the changes on the dialog ViewModel.
Declaration
protected override void OnConfirmed(EventArgs eventArgs)
Parameters
System.
|