Class RecurrenceRule
Provides class, working with recurring appointment.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class RecurrenceRule : IRecurrenceRule, ICopyable<IRecurrenceRule>, IObjectGenerator<IExceptionOccurrence>
Constructors
RecurrenceRule(RecurrencePattern)
Initializes a new instance of the RecurrenceRule class.
Declaration
public RecurrenceRule(RecurrencePattern pattern)
Parameters
RecurrencePattern
pattern
The pattern. |
Properties
Exceptions
Gets the exceptions.
Declaration
public ICollection<IExceptionOccurrence> Exceptions { get; }
Property Value
System.Collections.Generic.ICollection<IExceptionOccurrence>
The exceptions. |
Implements
Pattern
Gets or sets the recurrence pattern.
Declaration
public RecurrencePattern Pattern { get; set; }
Property Value
RecurrencePattern
The recurrence pattern. |
Implements
Methods
Copy()
Deep copies this instance.
Declaration
public IRecurrenceRule Copy()
Returns
IRecurrenceRule
A deep copy of the current object. |
Implements
CopyFrom(IRecurrenceRule)
Copies from.
Declaration
public void CopyFrom(IRecurrenceRule other)
Parameters
IRecurrenceRule
other
The other. |
Implements
CreateExceptionAppointment(IAppointment)
Creates a new IAppointment instance that will hold the properties of an exception occurrence.
Declaration
public IAppointment CreateExceptionAppointment(IAppointment master)
Parameters
IAppointment
master
|
Returns
IAppointment
|
Implements
OnStateChanged(EventArgs)
Raises the StateChanged event.
Declaration
protected virtual void OnStateChanged(EventArgs args)
Parameters
System.EventArgs
args
The System.EventArgs instance containing the event data. |
Events
StateChanged
Occurs when state of the rule changed.
Declaration
public event EventHandler StateChanged
Event Type
System.EventHandler
|
Explicit Interface Implementations
IObjectGenerator<IExceptionOccurrence>.CreateNew()
Creates a new IExceptionOccurrence instance.
Declaration
IExceptionOccurrence IObjectGenerator<IExceptionOccurrence>.CreateNew()
Returns
IExceptionOccurrence
The new instance of IExceptionOccurrence. |
Implements
IObjectGenerator<IExceptionOccurrence>.CreateNew(IExceptionOccurrence)
Creates a new IExceptionOccurrence instance and copies the provided object properties on to the new instance.
Declaration
IExceptionOccurrence IObjectGenerator<IExceptionOccurrence>.CreateNew(IExceptionOccurrence item)
Parameters
IExceptionOccurrence
item
|
Returns
IExceptionOccurrence
The new instance of IExceptionOccurrence. |