A newer version of this page is available.

CellsAutoHeightOptions.Enabled Property

Gets or sets whether the height of a time cell should be automatically adjusted to fit appointments.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll


public bool Enabled { get; set; }

Property Value

Type Default Description


true to switch auto height adjustment on; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to Enabled


The Timeline and Gantt views can automatically change the resource height to fit the content in the grouped mode (SchedulerControl.GroupType is set to the SchedulerGroupType.Resource). While the number of resources that are simultaneously displayed on the screen is constant and the number of appointments assigned to each resource is different, the height of each resource can be automatically changed to fit resource appointments and free space can be reallocated to display as many appointments as possible. Use the CellsAutoHeightOptions.MinHeight property to specify the minimum resource height that can be set when reallocating free space in a view.


When the Enabled option is off, some appointments in a row can be hidden. In this situation, you can scroll a particular row if the TimelineView.TimelineScrollBarVisible is set to true to see all appointments. To adjust the number of visible appointments, you can specify the SchedulerViewBase.AppointmentHeight value.

See Also