Class
RecurrenceRuleExtensions

Extensions methods for IRecurrenceRule interface.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public static class RecurrenceRuleExtensions

Inheritance: objectRecurrenceRuleExtensions

Methods

AddException(IRecurrenceRule, DateTime)

Adds exception to a recurrence rule.

Declaration

cs-api-definition
public static void AddException(this IRecurrenceRule rule, DateTime dateTime)

Parameters

rule

IRecurrenceRule

dateTime

DateTime

AddException(IRecurrenceRule, DateTime, IAppointment)

Adds an exception to a recurrence rule.

Declaration

cs-api-definition
public static void AddException(this IRecurrenceRule rule, DateTime exceptionDate, IAppointment appointment)

Parameters

rule

IRecurrenceRule

exceptionDate

DateTime

The exception date.

appointment

IAppointment

The exception appointment.

RemoveException(IRecurrenceRule, IAppointment)

Removes an exception from a recurrence rule.

Declaration

cs-api-definition
public static void RemoveException(this IRecurrenceRule rule, IAppointment appointment)

Parameters

rule

IRecurrenceRule

appointment

IAppointment

The exception appointment to be removed.

RestoreException(IRecurrenceRule, DateTime)

Restores an exception from a recurrence rule.

Declaration

cs-api-definition
public static void RestoreException(this IRecurrenceRule rule, DateTime originalStart)

Parameters

rule

IRecurrenceRule

originalStart

DateTime