XtraScheduler – Getting Started

In this lesson, we shall create a simple scheduling application. This application will consist of two controls – the SchedulerControl and the DateNavigator control. We’ll simply drop these controls onto a Form, lay them out, and that’s all.

  1. By default, all the scheduler control items are located in one tab of the Toolbox.
  2. We’ll select the SchedulerControl item and drop it onto the form, and then dock it to fill the form.
  3. You’ll see that the Scheduler Storage control is created automatically for you. It stores appointments and resources for the Scheduler.
  4. It is bound to the SchedulerControl via its Storage property.
  5. Now select the DateNavigator item in the Toolbox and drop it onto the form.
  6. The SchedulerControl property of the DateNavigator is automatically set to the existing instance of the scheduler control.
  7. We’ll dock it to the right.
  8. Now pay attention to the “Features Indicator”. It is visible only at design time. It indicates what settings are required for the control to be sure it will work as expected.
  9. Note that the “Start” property of the SchedulerControl indicates the date on which the scheduler shows its data.
  10. Now we’ll run the application and see the result.
  11. The DateNavigator control is already bound to the scheduler, and when the dates are selected, the scheduler is changed to display the selection.
  12. Now let’s click the week number and select the entire week.
  13. The Scheduler changes its view mode to WeekView.
  14. Now click on a date in the DateNavigator to see the DayView.
  15. If you wish to select several different dates, press Ctrl and select another date item in the DateNavigator. The scheduler displays all the dates using the same DayView mode.
  16. If you left-click and drag the mouse along the DateNavigator, you will select a continuous range of dates.
  17. When this range has the length of a week, the scheduler displays it with the Week view.
  18. When the length is more than a week – the Month view is used instead.
  19. To change the scheduler’s view from the context menu, just right-click within the time cell region and select the desired view.
  20. Now let’s create an appointment. We’ll select the time cells and right-click for the “New Appointment…” menu item.
  21. We’ll fill in the necessary fields.
  22. You can also make the appointment recurrent.
  23. Within the recurrence dialog, you can set typical fields like the duration, when the recurrence occurs, and the range of the recurrence.
  24. While editing the appointment, you can add a reminder to it . . . and turn it on.

That’s it! We’ve created a simple scheduling application with the XtraScheduler!