New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides class, working with recurring appointment.

Definition

Namespace:Telerik.Maui.Controls.Scheduler

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RecurrenceRule : IRecurrenceRule, ICopyable<IRecurrenceRule>

Inheritance: objectRecurrenceRule

Implements: ICopyable<IRecurrenceRule>IRecurrenceRule

Constructors

Initializes a new instance of the RecurrenceRule class.

C#
public RecurrenceRule(RecurrencePattern pattern)
Parameters:patternRecurrencePattern

The pattern.

Properties

Gets the exceptions.

C#
public ICollection<IExceptionOccurrence> Exceptions { get; }
Property Value:

The exceptions.

Implements: IRecurrenceRule.Exceptions

Gets or sets the recurrence pattern.

C#
public RecurrencePattern Pattern { get; set; }
Property Value:

The recurrence pattern.

Implements: IRecurrenceRule.Pattern

Methods

Deep copies this instance.

C#
public IRecurrenceRule Copy()
Returns:

IRecurrenceRule

A deep copy of the current object.

Implements: ICopyable<IRecurrenceRule>.Copy()

Copies from.

C#
public void CopyFrom(IRecurrenceRule other)
Parameters:otherIRecurrenceRule

The other.

Implements: ICopyable<IRecurrenceRule>.CopyFrom(IRecurrenceRule)

Creates a new IAppointment instance that will hold the properties of an exception occurrence.

C#
public IAppointment CreateExceptionAppointment(IAppointment master)
Parameters:masterIAppointmentReturns:

IAppointment

Implements: IRecurrenceRule.CreateExceptionAppointment(IAppointment)

Raises the StateChanged event.

C#
protected virtual void OnStateChanged(EventArgs args)
Parameters:argsEventArgs

The EventArgs instance containing the event data.

Events

Occurs when state of the rule changed.

C#
public event EventHandler StateChanged