New to Telerik UI for WPFStart a free 30-day trial

Extensions methods for IRecurrenceRule interface.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public static class RecurrenceRuleExtensions

Inheritance: objectRecurrenceRuleExtensions

Methods

Adds an exception to a recurrence rule.

C#
public static void AddException(this IRecurrenceRule rule, DateTime exceptionDate, IAppointment appointment)
Parameters:ruleIRecurrenceRuleexceptionDateDateTime

The exception date.

appointmentIAppointment

The exception appointment.

Adds exception to a recurrence rule.

C#
public static void AddException(this IRecurrenceRule rule, DateTime dateTime)
Parameters:ruleIRecurrenceRuledateTimeDateTime

Removes an exception from a recurrence rule.

C#
public static void RemoveException(this IRecurrenceRule rule, IAppointment appointment)
Parameters:ruleIRecurrenceRuleappointmentIAppointment

The exception appointment to be removed.

Restores an exception from a recurrence rule.

C#
public static void RestoreException(this IRecurrenceRule rule, DateTime originalStart)
Parameters:ruleIRecurrenceRuleoriginalStartDateTime