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 RecurrenceChoiceDialogViewModel class.
Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, bool? , bool> confirmDialogClose)
Parameters
IScheduleViewDialogHost
dialogHost
The dialog window. |
Occurrence
occurrence
The edited occurrence. |
RecurrenceChoiceDialogMode
mode
The action mode. |
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
The confirmation callback. |
RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost, Occurrence, RecurrenceChoiceDialogMode, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>, CultureInfo)
Initializes a new instance of the RecurrenceChoiceDialogViewModel class.
Declaration
public RecurrenceChoiceDialogViewModel(IScheduleViewDialogHost dialogHost, Occurrence occurrence, RecurrenceChoiceDialogMode mode, Func<SchedulerDialogViewModel, bool? , bool> confirmDialogClose, CultureInfo culture)
Parameters
IScheduleViewDialogHost
dialogHost
The dialog window. |
Occurrence
occurrence
The edited occurrence. |
RecurrenceChoiceDialogMode
mode
The action mode. |
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
The confirmation callback. |
System.Globalization.CultureInfo
culture
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
RecurrenceDialogViewModel
|
IsOccurrenceModeSelected
Determines whether current selected recurrence mode is Occurrence or not.
Declaration
public bool? IsOccurrenceModeSelected { get; set; }
Property Value
System.Nullable<System.Boolean>
|
IsSeriesModeSelected
Determines whether current selected recurrence mode is Series or not.
Declaration
public bool? IsSeriesModeSelected { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Occurrence
The edited occurrence.
Declaration
public Occurrence Occurrence { get; set; }
Property Value
Occurrence
|
RecurrenceChoiceDialogMode
Gets or sets the mode of the recurrence choice dialog.
Declaration
public RecurrenceChoiceDialogMode RecurrenceChoiceDialogMode { get; set; }
Property Value
RecurrenceChoiceDialogMode
|
SelectedRecurrenceMode
The recurrence mode which is currently selected.
Declaration
public RecurrenceMode SelectedRecurrenceMode { get; set; }
Property Value
RecurrenceMode
|
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.EventArgs
eventArgs
|