ClassRecurrenceDialogViewModel
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class RecurrenceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable, IDataErrorInfo
Inheritance: objectViewModelBaseSchedulerDialogViewModelRecurrenceDialogViewModel
Implements:
Inherited Members
Constructors
RecurrenceDialogViewModel(IAppointment, AppointmentViewMode, IScheduleViewDialogHost, CultureInfo, Func<SchedulerDialogViewModel, bool?, bool>)
Initializes a new instance of the RecurrenceDialogViewModel class.
Declaration
public RecurrenceDialogViewModel(IAppointment appointment, AppointmentViewMode viewMode, IScheduleViewDialogHost dialogHost, CultureInfo culture, Func<SchedulerDialogViewModel, bool?, bool> confirmDialogClose)
Parameters
appointment
viewMode
dialogHost
culture
confirmDialogClose
Fields
DefaultMaxOccurrences
Default MaxOccurrences value.
Properties
DaysOfMonth
The dates of the month on which the event recurs (for example, the first day of the month, or the third to last day of the month).
Duration
The duration of the recurring event.
End
The last date and time for the event to occur. Either this or Count may be used, but not both.
Error
Returns the error message.
Interval
A number indicating how often this rule repeats, when combined with the frequency.
IsRemoveRecurrenceButtonEnabled
Declaration
public bool IsRemoveRecurrenceButtonEnabled { get; }
Property Value
MaxOccurrences
Optional limit for the number of occurrences.
MonthOfYear
Gets or sets the month of year.
Declaration
public int MonthOfYear { get; set; }
Property Value
The month of year.
NamesOfMonths
Gets the names of months.
Declaration
public IDictionary<int, string> NamesOfMonths { get; }
Property Value
The names of months.
NthRecurrenceDay
Gets or sets the nth recurrence day.
Declaration
public RecurrenceDays NthRecurrenceDay { get; set; }
Property Value
The nth recurrence day.
NthRecurrenceDays
Gets the NTH recurrence days.
Declaration
public IList<NameValueItem<RecurrenceDays>> NthRecurrenceDays { get; }
Property Value
IList<NameValueItem<RecurrenceDays>>
The NTH recurrence days.
RecurrenceRangeType
Gets or sets a value indicating the type of recurrence range.
Declaration
public RecurrenceRangeType RecurrenceRangeType { get; set; }
Property Value
The type of the recurrence range.
RecurrenceType
Gets or sets the type of the recurrence.
Declaration
public RecurrenceType RecurrenceType { get; set; }
Property Value
The type of the recurrence.
RecursUntil
Optional end date for the recurring appointment.
Start
The start of the recurring event.
ViewMode
Declaration
public AppointmentViewMode ViewMode { get; }
Property Value
WeekDays
Declaration
public IList<NameValueItem<RecurrenceDays>> WeekDays { get; }
Property Value
WeekOfMonth
Declaration
public WeekOfMonth WeekOfMonth { get; set; }
Property Value
WeekOfMonths
Declaration
public IList<NameValueItem<WeekOfMonth>> WeekOfMonths { get; }
Property Value
Methods
CanConfirm()
Check whether the changes can be confirmed. The default value is true.
Declaration
protected override bool CanConfirm()
Returns
Returns whether the changes can be confirmed.
Overrides
OnConfirmed(EventArgs)
Confirms the changes on the ScheduleDialogViewModel.
Declaration
protected override void OnConfirmed(EventArgs eventArgs)
Parameters
eventArgs
Overrides