Back to Devexpress

SchedulerControl.HtmlImages Property

windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-aea22e91.md

latest4.0 KB
Original Source

SchedulerControl.HtmlImages Property

Gets or sets the collection of images that can be embedded in the text in appointments using HTML tags.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public object HtmlImages { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Property HtmlImages As Object

Property Value

TypeDefaultDescription
Objectnull

An object that represents an image collection.

|

Remarks

You can use HTML tags to format the text displayed in appointments. For example, you can display a bold or italic text. To enable HTML tags, use the following properties:

To embed an image into a string, assign an image collection to the HtmlImages property. You can use the following objects as image collections:

Then, use the image tag to refer to an image by its name in the collection. The image will be displayed in the string.

csharp
schedulerControl.Views.DayView.AppointmentDisplayOptions.AllowHtmlText = true;
schedulerControl.HtmlImages = svgImageCollection1;
apt2.Description = "Rent this car <image=shipment>";
vb
schedulerControl.Views.DayView.AppointmentDisplayOptions.AllowHtmlText = True
schedulerControl.HtmlImages = svgImageCollection1
apt2.Description = "Rent this car <image=shipment>";

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.XtraScheduler Namespace