Back to Devexpress

MonthViewAppointmentDisplayOptionsEx.StretchAppointments Property

windowsforms-devexpress-dot-xtrascheduler-dot-monthviewappointmentdisplayoptionsex.md

latest2.3 KB
Original Source

MonthViewAppointmentDisplayOptionsEx.StretchAppointments Property

Gets or sets whether appointments should automatically stretch to fill Month View time cells. 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 virtual bool StretchAppointments { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property StretchAppointments As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if appointments should automatically stretch; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StretchAppointments
MonthView

.AppointmentDisplayOptions .StretchAppointments

|

Remarks

The figure below illustrates the effect the StretchAppointments property has on Month View appointments.

See Also

MonthViewAppointmentDisplayOptionsEx Class

MonthViewAppointmentDisplayOptionsEx Members

DevExpress.XtraScheduler Namespace