Skip to main content
A newer version of this page is available. .

AppointmentImagesEventArgs.ImageInfoList Property

Gets a collection of AppointmentImageInfo objects.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public AppointmentImageInfoCollection ImageInfoList { get; }

Property Value

Type Description
AppointmentImageInfoCollection

An AppointmentImageInfoCollection object which represents the event’s collection of images.

Remarks

Use the ImageInfoList property to access a collection of images that can be displayed within appointments.

Example

The following example handles the SchedulerControl.InitAppointmentImages event to display a custom image within the exception appointment.

The image below shows the result:

InitAppointmentImages event

using DevExpress.XtraScheduler;
using DevExpress.XtraScheduler.Drawing;
// ...

private void schedulerControl1_InitAppointmentImages(object sender, AppointmentImagesEventArgs e) {
    if(e.Appointment.IsException) {
        AppointmentImageInfo info = new AppointmentImageInfo();
        info.Image = SystemIcons.Warning.ToBitmap();
        e.ImageInfoList.Add(info);
    }
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageInfoList property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also