Skip to main content

ASPxScheduler.InitAppointmentImages Event

Enables you to display custom images within appointments.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.1.dll

NuGet Package: DevExpress.Web.Scheduler


public event AppointmentImagesEventHandler InitAppointmentImages

Event Data

The InitAppointmentImages event's data class is AppointmentImagesEventArgs. The following properties provide information specific to this event:

Property Description
Appointment Gets the appointment related to the ASPxScheduler.InitAppointmentImages event.
ImageInfoList Provides access to a collection of images used to paint an appointment in a scheduler’s View.
ViewInfo Provides access to the view information for an appointment when the ASPxScheduler.InitAppointmentImages event occurs.


The InitAppointmentImages event occurs before an appointment is rendered when its images are initialized. This event lets you display custom images within appointments. The event parameter properties allow identification of the current appointment and specify the images to be displayed within the appointment.

<dx:ASPxScheduler ID="ASPxScheduler1" runat="server" OnInitAppointmentImages="ASPxScheduler1_InitAppointmentImages"
                <dx:AppointmentLabel Color="255, 194, 190" DisplayName="Important" 
                MenuCaption="&amp;Important" />
                <dx:AppointmentLabel Color="168, 213, 255" DisplayName="Business" 
                MenuCaption="&amp;Business" />
See Also