New to Telerik UI for .NET MAUI? Start a free 30-day trial
Recurrence Rule
Updated over 6 months ago
The Scheduler supports repeating appointments through the RecurrenceRule property of the Appointment class. In order to create a recurrence rule, you have to define a recurrence pattern, such as frequency, days of week, max occurrences, and other.
The RecurrenceRule property has a mandatory Pattern property of type RecurrencePattern which describes how the appointment occurrences will be created through various recurrence settings. For detailed information on how to create the recurrence pattern go to Recurrence Pattern topic.
The main methods exposed by the RecurrenceRule class:
Copy()(type IRecurrenceRule)—Defines the new instance of theRecurrenceRule.CopyFrom()—Defines the pattern properties that are duplicate of the specifiedRecurrencePatternobject in theRecurrencePatternobject that calls this method.
Exceptions
The RecurrenceRule class exposes an exceptions method, which allows you to get or set all exception occurrences associated with the current rule.
CreateExceptionAppointment—Defines a newIAppointmentinstance that will hold the properties of an exception occurrence.