Back to Devexpress

TimelineViewAppointmentDisplayOptionsEx.StretchAppointments Property

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

latest2.5 KB
Original Source

TimelineViewAppointmentDisplayOptionsEx.StretchAppointments Property

Gets or sets whether Timeline View appointments should automatically stretch to occupy the entire time cell height. When this property is enabled, you can also use the AppointmentDisplayOptions.StretchAppointmentsMode property to specify whether appointments can also shrink to prevent the “More Appointments” button from being displayed.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if appointments should stretch; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StretchAppointments
TimelineView

.AppointmentDisplayOptions .StretchAppointments

|

Remarks

The figure below illustrates the effect the StretchAppointments setting has on Timeline View appointments.

See Also

StretchAppointments

TimelineViewAppointmentDisplayOptionsEx Class

TimelineViewAppointmentDisplayOptionsEx Members

DevExpress.XtraScheduler Namespace