Back to Devexpress

TimelineView.CellsAutoHeight Property

windowsforms-devexpress-dot-xtrascheduler-dot-timelineview-9b4e2fdb.md

latest3.1 KB
Original Source

TimelineView.CellsAutoHeight Property

OBSOLETE

You should use the 'CellsAutoHeightOptions.Enabled' instead

Use the CellsAutoHeightOptions.AutoHeightMode property to specify whether resources change their height automatically.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'CellsAutoHeightOptions.Enabled' instead", false)]
public bool CellsAutoHeight { get; set; }
vb
<Obsolete("You should use the 'CellsAutoHeightOptions.Enabled' instead", False)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property CellsAutoHeight As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

The Timeline View and the Gantt View can automatically change the resource height to fit its content in 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.

When the CellsAutoHeight 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

TimelineScrollBarVisible

AppointmentHeight

TimelineView Class

TimelineView Members

DevExpress.XtraScheduler Namespace