New to Telerik UI for WinUI? Download free 30-day trial

Create Appointment

This topic describes the work flow for creating an appointment in RadScheduler control.

Using UI

RadScheduler uses one and the same dialog to create and edit appointments. This topic describes the end-user's work flow for creating a new appointment.

  • In order to create a new appointment just double click the time when you want the appointment to occur. In Day, Week or Timeline view, you can double-click on a specific starting time to create an appointment. In Month view, appointments always start out as all-day events. The edit appointment dialog appears:

WinUI RadScheduler Create Appointment

  • Enter Subject, Description, Start and End time of the appointment. Keep in mind that the subject text will be displayed as label for this appointment in the scheduler.

  • You can also assign a category, time marker or importance by using the tool bar controls.

  • If you have completed the appointment edit, click the 'OK' button or press the Enter key. If you want to cancel the appointment creation, click the X button, the Close button or press the Esc key.

Using code

You can add new appointment using the code. Here are the steps to accomplish this:

  1. Call CreateNew() method of the RadScheduler control. It creates an instance of the IAppointment class and returns it. This method has 2 overloads:

  2. Set the properties for the new appointment.

  3. Call Commit() method to commit the changes to this object and to update the UI.

Example 1: Creating a new Appointment in code

IAppointment appointment = this.radScheduler.CreateNew(); 
appointment.Start = DateTime.Now; 
appointment.End = DateTime.Now.AddHours(1); 
appointment.Subject = "New appointment"; 

See Also

In this article
Not finding the help you need?