Class
RecurrenceRule

Provides class, working with recurring appointment.

Definition

Namespace:Telerik.Maui.Controls.Scheduler

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RecurrenceRule : IRecurrenceRule, ICopyable<IRecurrenceRule>

Inheritance: objectRecurrenceRule

Implements: ICopyable<IRecurrenceRule>IRecurrenceRule

Constructors

RecurrenceRule(RecurrencePattern)

Initializes a new instance of the RecurrenceRule class.

Declaration

cs-api-definition
public RecurrenceRule(RecurrencePattern pattern)

Parameters

pattern

RecurrencePattern

The pattern.

Properties

Exceptions

Gets the exceptions.

Declaration

cs-api-definition
public ICollection<IExceptionOccurrence> Exceptions { get; }

Property Value

ICollection<IExceptionOccurrence>

The exceptions.

Implements IRecurrenceRule.Exceptions

Pattern

Gets or sets the recurrence pattern.

Declaration

cs-api-definition
public RecurrencePattern Pattern { get; set; }

Property Value

RecurrencePattern

The recurrence pattern.

Implements IRecurrenceRule.Pattern

Methods

Copy()

Deep copies this instance.

Declaration

cs-api-definition
public IRecurrenceRule Copy()

Returns

IRecurrenceRule

A deep copy of the current object.

Implements ICopyable<IRecurrenceRule>.Copy()

CopyFrom(IRecurrenceRule)

Copies from.

Declaration

cs-api-definition
public void CopyFrom(IRecurrenceRule other)

Parameters

other

IRecurrenceRule

The other.

Implements ICopyable<IRecurrenceRule>.CopyFrom(IRecurrenceRule)

CreateExceptionAppointment(IAppointment)

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

Declaration

cs-api-definition
public IAppointment CreateExceptionAppointment(IAppointment master)

Parameters

master

IAppointment

Returns

IAppointment

Implements IRecurrenceRule.CreateExceptionAppointment(IAppointment)

OnStateChanged(EventArgs)

Raises the StateChanged event.

Declaration

cs-api-definition
protected virtual void OnStateChanged(EventArgs args)

Parameters

args

EventArgs

The EventArgs instance containing the event data.

Events

StateChanged

Occurs when state of the rule changed.

Declaration

cs-api-definition
public event EventHandler StateChanged

Event Value

EventHandler