Back to Devexpress

TimelineViewAppointmentDisplayOptionsEx.AllowHtmlText Property

windowsforms-devexpress-dot-xtrascheduler-dot-timelineviewappointmentdisplayoptionsex-0c273a14.md

latest3.1 KB
Original Source

TimelineViewAppointmentDisplayOptionsEx.AllowHtmlText Property

Gets or sets whether to parse HTML tags that allow you to format the text in appointments.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool AllowHtmlText { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property AllowHtmlText As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to parse HTML tags; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowHtmlText
TimelineView

.AppointmentDisplayOptions .AllowHtmlText

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowHtmlText 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.

winforms-scheduler-custom-draw-appointments/CS/CustomDrawDemo/Form1.cs#L46

csharp
TimelineView view = schedulerControl1.ActiveView as TimelineView;
view.AppointmentDisplayOptions.AllowHtmlText = true;

winforms-scheduler-custom-draw-appointments/VB/CustomDrawDemo/Form1.vb#L43

vb
Dim view As TimelineView = TryCast(schedulerControl1.ActiveView, TimelineView)
view.AppointmentDisplayOptions.AllowHtmlText = True

See Also

HtmlImages

TimelineViewAppointmentDisplayOptionsEx Class

TimelineViewAppointmentDisplayOptionsEx Members

DevExpress.XtraScheduler Namespace