AppointmentImageInfo.SvgImage Property
Gets or sets an SVG image to be displayed within the appointment.
Namespace: DevExpress.XtraScheduler.Drawing
Assembly: DevExpress.XtraScheduler.v25.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Property Value
| Type | Description |
|---|---|
| SvgImage | An object that specifies a vector image. |
Remarks
Set the SvgImage and SvgImageSize properties to display an SVG image within an appointment. The SvgImage property specifies the image. The SvgImageSize property specifies the image size.
using DevExpress.XtraScheduler;
using DevExpress.XtraScheduler.Drawing;
private void schedulerControl_InitAppointmentImages(object sender, AppointmentImagesEventArgs e) {
if(e.Appointment.IsBase)
e.ImageInfoList.Add(new AppointmentImageInfo() {
SvgImage = svgImageCollection1[0],
SvgImageSize = new Size(16, 16) });
}
See Also