skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RecurrenceRule

Provides class, working with recurring appointment.

Inheritance
System.Object
RecurrenceRule
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll

Syntax

public class RecurrenceRule : Object, IRecurrenceRule, ICopyable<IRecurrenceRule>, IObjectGenerator<IExceptionOccurrence>

Constructors

RecurrenceRule(RecurrencePattern)

Initializes a new instance of the RecurrenceRule class.

Declaration
public RecurrenceRule(RecurrencePattern pattern)
Parameters
RecurrencePattern pattern

The pattern.

Properties

Exceptions

Gets the exceptions.

Declaration
public ICollection<IExceptionOccurrence> Exceptions { get; }
Property Value
System.Collections.Generic.ICollection<IExceptionOccurrence>

The exceptions.

Implements
IRecurrenceRule.Exceptions

Pattern

Gets or sets the recurrence pattern.

Declaration
public RecurrencePattern Pattern { get; set; }
Property Value
RecurrencePattern

The recurrence pattern.

Implements
IRecurrenceRule.Pattern

Methods

Copy()

Deep copies this instance.

Declaration
public IRecurrenceRule Copy()
Returns
IRecurrenceRule

A deep copy of the current object.

Implements
ICopyable<T>.Copy()

CopyFrom(IRecurrenceRule)

Copies from.

Declaration
public void CopyFrom(IRecurrenceRule other)
Parameters
IRecurrenceRule other

The other.

Implements
ICopyable<T>.CopyFrom(T)

CreateExceptionAppointment(IAppointment)

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

Declaration
public IAppointment CreateExceptionAppointment(IAppointment master)
Parameters
IAppointment master

Returns
IAppointment

Implements
IRecurrenceRule.CreateExceptionAppointment(IAppointment)

OnStateChanged(EventArgs)

Raises the StateChanged event.

Declaration
protected virtual void OnStateChanged(EventArgs args)
Parameters
System.EventArgs args

The System.EventArgs instance containing the event data.

Events

StateChanged

Occurs when state of the rule changed.

Declaration
public event EventHandler StateChanged
Event Type
System.EventHandler

Explicit Interface Implementations

IObjectGenerator<IExceptionOccurrence>.CreateNew()

Creates a new IExceptionOccurrence instance.

Declaration
IExceptionOccurrence IObjectGenerator<IExceptionOccurrence>.CreateNew()
Returns
IExceptionOccurrence

The new instance of IExceptionOccurrence.

Implements
IObjectGenerator<T>.CreateNew()

IObjectGenerator<IExceptionOccurrence>.CreateNew(IExceptionOccurrence)

Creates a new IExceptionOccurrence instance and copies the provided object properties on to the new instance.

Declaration
IExceptionOccurrence IObjectGenerator<IExceptionOccurrence>.CreateNew(IExceptionOccurrence item)
Parameters
IExceptionOccurrence item

Returns
IExceptionOccurrence

The new instance of IExceptionOccurrence.

Implements
IObjectGenerator<T>.CreateNew(T)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.