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.v21.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool StretchAppointments { get; set; }

Property Value

Type Default Description
Boolean

false

true if appointments should automatically stretch; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to StretchAppointments
MonthView
.AppointmentDisplayOptions.StretchAppointments
YearView
.AppointmentDisplayOptions.StretchAppointments

Remarks

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

Scheduler - Appointments - Stretch

See Also