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.
An appointment is set every 3 hours. Five occurrences.
apt.RecurrenceInfo.Type = RecurrenceType.Hourly;
apt.RecurrenceInfo.Start = apt.Start;
apt.RecurrenceInfo.Periodicity = 3;
apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount;
apt.RecurrenceInfo.OccurrenceCount = 5;
apt.RecurrenceInfo.Type = RecurrenceType.Hourly
apt.RecurrenceInfo.Start = apt.Start
apt.RecurrenceInfo.Periodicity = 3
apt.RecurrenceInfo.Range = RecurrenceRange.OccurrenceCount
apt.RecurrenceInfo.OccurrenceCount = 5
An appointment is set every 5 hours. Infinite (no end date).
apt.RecurrenceInfo.Type = RecurrenceType.Hourly;
apt.RecurrenceInfo.Start = apt.Start;
apt.RecurrenceInfo.Periodicity = 5;
apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate;
apt.RecurrenceInfo.Type = RecurrenceType.Hourly
apt.RecurrenceInfo.Start = apt.Start
apt.RecurrenceInfo.Periodicity = 5
apt.RecurrenceInfo.Range = RecurrenceRange.NoEndDate
An appointment is set every hour. The appointment chain duration is 24 hours.
apt.RecurrenceInfo.Type = RecurrenceType.Hourly;
apt.RecurrenceInfo.Start = apt.Start;
apt.RecurrenceInfo.Periodicity = 1;
apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate;
apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddHours(24);
apt.RecurrenceInfo.Type = RecurrenceType.Hourly
apt.RecurrenceInfo.Start = apt.Start
apt.RecurrenceInfo.Periodicity = 1
apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate
apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddHours(24)