Skip to main content

SchedulerControl.CustomAppointmentGroup Event

Allows you to split appointments into groups.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.2.dll

NuGet Package: DevExpress.Win.Scheduler


public event CustomAppointmentGroupEventHandler CustomAppointmentGroup

Event Data

The CustomAppointmentGroup event's data class is DevExpress.XtraScheduler.CustomAppointmentGroupEventArgs.


The CustomAppointmentGroup event fires repeatedly for every encountered appointment; read the e.AppointmentLayoutInfo event parameter to obtain the information about the currently processed appointment, and assign the group index to the integer e.GroupIndex property.

In the Timeline View module of the Scheduler Demo (available in DevExpress Demo Center), appointments are grouped by their Labels.


void SchedulerControl1_CustomAppointmentGroup(object sender, CustomAppointmentGroupEventArgs e) {
    e.GroupKey = (int)e.AppointmentLayoutInfo.Appointment.LabelKey;
See Also