Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Collapse]Examples
    [Expand]Appearance
    [Expand]Data Binding
    [Expand]Data Exchange
    [Expand]DateTime
    [Expand]DateNavigator
    [Expand]Forms
    [Expand]Gantt View
    [Expand]Initialization
    [Expand]Labels and Statuses
    [Expand]Layout
    [Expand]Menu
    [Expand]Printing and Reporting
    [Expand]Protection
    [Expand]Range Control
    [Collapse]Recurrence
      How to: Create Appointments with Various Recurrence Types Programmatically
      Recurrence - Daily (examples)
      Recurrence - Exceptions (examples)
      Recurrence - Hourly (examples)
      Recurrence - Minutely (examples)
      Recurrence - Monthly (examples)
      Recurrence - Weekly (examples)
      Recurrence - Yearly (examples)
    [Expand]Reminders
    [Expand]Selection
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Create Appointments with Various Recurrence Types Programmatically

This document illustrates how recurring appointments with different periodicity and number of occurrences can be created in code. Many examples are provided to help you in specifying complex periodical conditions.

Perform the following simple steps. First, create a new appointment pattern. Then, modify its recurrence information as required via the Appointment.RecurrenceInfo property. You can specify only one type of recurrence - every minute, hour, day, week, or year. Finally, add the appointment to the storage.

Expanded 1. Create a Pattern

An appointment pattern which starts at 3 AM on the current date finishes at 8:15 will be created. So the first appointment in a series will start at 3 AM and will last for 15 minutes.

Expanded 2. Specify a Minutely Recurrence

Expanded 3. Specify an Hourly Recurrence

Expanded 4. Specify a Daily Recurrence

Expanded 5. Specify a Weekly Recurrence

Expanded 6. Specify a Monthly Recurrence

Expanded 7. Specify a Yearly Recurrence

Expanded 8. Specify Recurrence with Exceptions

Expanded 9. The Final Step

And finally, add an appointment to the storage:

Expanded See Also

How would you rate this topic?​​​​​​​