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
Initializes a new instance of the RecurrenceDialogViewModel class.
public RecurrenceDialogViewModel(IAppointment appointment, AppointmentViewMode viewMode, IScheduleViewDialogHost dialogHost, CultureInfo culture, Func<SchedulerDialogViewModel, bool?, bool> confirmDialogClose)
Fields
Default MaxOccurrences value.
public static readonly int DefaultMaxOccurrences
Properties
public IAppointment Appointment { get; }
public bool CanDeleteRecurrence { get; }
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).
public int[] DaysOfMonth { get; set; }
The last date and time for the event to occur. Either this or Count may be used, but not both.
public DateTime End { get; set; }
A number indicating how often this rule repeats, when combined with the frequency.
public int Interval { get; set; }
public bool IsReadOnly { get; }
public bool IsRemoveRecurrenceButtonEnabled { get; }
Optional limit for the number of occurrences.
public int MaxOccurrences { get; set; }
Gets or sets the month of year.
public int MonthOfYear { get; set; }
The month of year.
Gets the names of months.
public IDictionary<int, string> NamesOfMonths { get; }
The names of months.
Gets or sets the nth recurrence day.
public RecurrenceDays NthRecurrenceDay { get; set; }
The nth recurrence day.
Gets the NTH recurrence days.
public IList<NameValueItem<RecurrenceDays>> NthRecurrenceDays { get; }
The NTH recurrence days.
Gets or sets a value indicating the type of recurrence range.
public RecurrenceRangeType RecurrenceRangeType { get; set; }
The type of the recurrence range.
Gets or sets the type of the recurrence.
public RecurrenceType RecurrenceType { get; set; }
The type of the recurrence.
Optional end date for the recurring appointment.
public DateTime RecursUntil { get; set; }
public AppointmentViewMode ViewMode { get; }
public IList<NameValueItem<RecurrenceDays>> WeekDays { get; }
public WeekOfMonth WeekOfMonth { get; set; }
public IList<NameValueItem<WeekOfMonth>> WeekOfMonths { get; }
Methods
Check whether the changes can be confirmed. The default value is true.
protected override bool CanConfirm()
Returns whether the changes can be confirmed.
Overrides:
Confirms the changes on the ScheduleDialogViewModel.