AppointmentDisplayOptions.AppointmentAutoHeight Property
Gets or sets whether an appointment should change its height to fit the text to display.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v21.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if an appointment’s height is changed automatically to fit the text; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AppointmentAutoHeight |
---|---|
SchedulerViewInfoBase |
|
TimeCellsControlBase |
|
SchedulerViewBase |
|
Remarks
Special note for the Day, Work-Week and Full Week views. When the current view type is Day View, Work Week View or Full Week View, the appointment height depends on its duration when an appointment does not occupy the whole day. So the AppointmentAutoHeight property is applicable only to the Appointment.AllDay type appointments in those views.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentAutoHeight 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.