AppointmentImageInfoCoreCollection<TAppointmentImageInfo>.GetAppointmentImageInfos(AppointmentImageType) Method

Enables you to access the images displayed within a particular appointment, by the specified image type.

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v20.2.Core.Desktop.dll


public virtual TAppointmentImageInfo[] GetAppointmentImageInfos(
    AppointmentImageType type
Public Overridable Function GetAppointmentImageInfos(
    type As AppointmentImageType
) As TAppointmentImageInfo()


Name Type Description
type AppointmentImageType

An AppointmentImageType enumeration member specifying the image type.


Type Description

An array of AppointmentImageInfo objects corresponding to images for display within an appointment.


The following code snippet illustrates how the GetAppointmentImageInfos can be used within the SchedulerControl.InitAppointmentImages handler to hide the reminder icon:

private void schedulerControl1_InitAppointmentImages(object sender, DevExpress.XtraScheduler.AppointmentImagesEventArgs e){
            AppointmentImageInfo[] infos = e.ImageInfoList.GetAppointmentImageInfos(AppointmentImageType.Reminder);
            if (infos.Length > 0)
                for (int i = 0; i < infos.Length; i++)

If you handle the SchedulerControl.AppointmentViewInfoCustomizing event, you can use the AppointmentViewInfo.ShowBell property to achieve the same result.

See Also