How to: Customize Minutely Recurrence (legacy)

NOTE

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

  1. An appointment is set every 10 minutes. Five occurrences.

    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 10;
    apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
    apt.RecurrenceInfo.OccurrenceCount = 5;
    
  2. An appointment is set every 45 minutes. Infinite (no end time).

    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 45;
    apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate;
    
  3. An appointment is set every 20 minutes. The appointment chain duration is 10 hours.

    apt.RecurrenceInfo.Type = RecurrenceType.Minutely;
    apt.RecurrenceInfo.Start = apt.Start;
    apt.RecurrenceInfo.Periodicity = 20;
    apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate;
    apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddHours(10);