Class RecurrenceDialogViewModel
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class RecurrenceDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDisposable, IDataErrorInfo
Constructors
RecurrenceDialogViewModel(IAppointment, AppointmentViewMode, IScheduleViewDialogHost, CultureInfo, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)
Initializes a new instance of the RecurrenceDialogViewModel class.
Declaration
public RecurrenceDialogViewModel(IAppointment appointment, AppointmentViewMode viewMode, IScheduleViewDialogHost dialogHost, CultureInfo culture, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
IAppointment
appointment
|
AppointmentViewMode
viewMode
|
IScheduleViewDialogHost
dialogHost
|
System.Globalization.CultureInfo
culture
|
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
|
Fields
DefaultMaxOccurrences
Default MaxOccurrences value.
Declaration
public static readonly int DefaultMaxOccurrences
Field Value
System.Int32
|
Properties
Appointment
CanDeleteRecurrence
Declaration
public bool CanDeleteRecurrence { get; }
Property Value
System.Boolean
|
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).
Declaration
public int[] DaysOfMonth { get; set; }
Property Value
System.Int32[]
|
Duration
The duration of the recurring event.
Declaration
public TimeSpan Duration { get; set; }
Property Value
System.TimeSpan
|
End
The last date and time for the event to occur. Either this or Count may be used, but not both.
Declaration
public DateTime End { get; set; }
Property Value
System.DateTime
|
Error
Returns the error message.
Declaration
public string Error { get; }
Property Value
System.String
|
Interval
A number indicating how often this rule repeats, when combined with the frequency.
Declaration
public int Interval { get; set; }
Property Value
System.Int32
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
IsRemoveRecurrenceButtonEnabled
Declaration
public bool IsRemoveRecurrenceButtonEnabled { get; }
Property Value
System.Boolean
|
Item[String]
Declaration
public string this[string columnName] { get; }
Parameters
System.String
columnName
|
Property Value
System.String
|
MaxOccurrences
Optional limit for the number of occurrences.
Declaration
public int MaxOccurrences { get; set; }
Property Value
System.Int32
|
MonthOfYear
Gets or sets the month of year.
Declaration
public int MonthOfYear { get; set; }
Property Value
System.Int32
The month of year. |
NamesOfMonths
Gets the names of months.
Declaration
public IDictionary<int, string> NamesOfMonths { get; }
Property Value
System.Collections.Generic.IDictionary<System.Int32, System.String>
The names of months. |
NthRecurrenceDay
Gets or sets the nth recurrence day.
Declaration
public RecurrenceDays NthRecurrenceDay { get; set; }
Property Value
RecurrenceDays
The nth recurrence day. |
NthRecurrenceDays
Gets the NTH recurrence days.
Declaration
public IList<NameValueItem<RecurrenceDays>> NthRecurrenceDays { get; }
Property Value
System.Collections.Generic.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
RecurrenceRangeType
The type of the recurrence range. |
RecurrenceType
Gets or sets the type of the recurrence.
Declaration
public RecurrenceType RecurrenceType { get; set; }
Property Value
RecurrenceType
The type of the recurrence. |
RecursUntil
Optional end date for the recurring appointment.
Declaration
public DateTime RecursUntil { get; set; }
Property Value
System.DateTime
|
Start
The start of the recurring event.
Declaration
public DateTime Start { get; set; }
Property Value
System.DateTime
|
ViewMode
WeekDays
Declaration
public IList<NameValueItem<RecurrenceDays>> WeekDays { get; }
Property Value
System.Collections.Generic.IList<NameValueItem<RecurrenceDays>>
|
WeekOfMonth
WeekOfMonths
Declaration
public IList<NameValueItem<WeekOfMonth>> WeekOfMonths { get; }
Property Value
System.Collections.Generic.IList<NameValueItem<WeekOfMonth>>
|
Methods
CanConfirm()
Declaration
protected override bool CanConfirm()
Returns
System.Boolean
|
Overrides
DeleteRecurrence()
Declaration
public bool DeleteRecurrence()
Returns
System.Boolean
|
OnConfirmed(EventArgs)
Declaration
protected override void OnConfirmed(EventArgs eventArgs)
Parameters
System.EventArgs
eventArgs
|
Overrides
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Overrides
SaveRecurrence()
Declaration
public bool SaveRecurrence()
Returns
System.Boolean
|