Back to Devexpress

Create and Edit Appointments

wpf-401590-controls-and-libraries-scheduler-create-and-edit-appointments.md

latest6.6 KB
Original Source

Create and Edit Appointments

  • Mar 24, 2025
  • 2 minutes to read

Create Appointments

Users can create a new appointment in one of the following ways:

  • Double-click a time cell.
  • Hold the Ctrl key and drag an appointment to create a copy.
  • Select one or multiple time cells and:

Edit Appointments

The Appointment Window allows users to edit appointment settings. Users can double-click an appointment or select an appointment and press Enter to invoke the Appointment Window. You can use the ShowAppointmentWindow method to invoke the Appointment Window in code.

The Scheduler control also allows users to modify appointments in the following ways:

Tip

When the user drops an appointment on the All-Day area, its SchedulerItemBase.AllDay property is set to true. When the user drags the appointment back to the time cells area, its initial SchedulerItemBase.Duration value is not restored, and instead it is set to fill a time cell.

The Reminder Window allows users to edit reminder alerts.

Remove Appointments

Users can remove the selected appointments in any of the following ways:

Customization

Use the following API to specify which actions users are allowed to perform and implement custom logic:

|

Action

|

End-User Capability

|

Mechanism

| | --- | --- | --- | |

Create new appointments

|

SchedulerControl.AllowAppointmentCreate

SchedulerControl.CustomAllowAppointmentCreate

|

SchedulerControl.AppointmentAdding

SchedulerControl.AppointmentAdded

| |

Edit appointments

|

SchedulerControl.AllowAppointmentEdit

SchedulerControl.CustomAllowAppointmentEdit

|

SchedulerControl.AppointmentEditing

SchedulerControl.AppointmentEdited

| |

Resize appointments

|

SchedulerControl.AllowAppointmentResize

SchedulerControl.CustomAllowAppointmentResize

|

SchedulerControl.AppointmentEditing

SchedulerControl.AppointmentEdited

The Resize Appointments article covers the resize-specific events.

| |

Drag appointments

|

SchedulerControl.AllowAppointmentDrag

SchedulerControl.CustomAllowAppointmentDrag

|

SchedulerControl.AppointmentEditing

SchedulerControl.AppointmentEdited

The Drag and Drop Appointments article covers the drag-drop specific events.

| |

Restore exceptions in a recurring series

|

SchedulerControl.AllowAppointmentEdit

SchedulerControl.CustomAllowAppointmentEdit

|

SchedulerControl.AppointmentRestoring

SchedulerControl.AppointmentRestored

| |

Remove appointments

|

SchedulerControl.AllowAppointmentDelete

SchedulerControl.CustomAllowAppointmentDelete

|

SchedulerControl.AppointmentRemoving

SchedulerControl.AppointmentRemoved

|

See Also

How to: Validate Appointment Items when the User Is Adding or Editing Them