Skip to main content

TimelineView.ResourceHeight Property

Sets fixed resource height and enables pixel scrolling for the SchedulerControl.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int ResourceHeight { get; set; }

Property Value

Type Default Description
Int32 0

Fixed resource height.

Remarks

The default ResourceHeight value is 0, and the SchedulerControl automatically calculates resource heights based on ResourcesPerPage and the client area.

Specify the ResourceHeight property to explicitly set a constant height for all resources. This also enables pixel scrolling.

schedulerControl1.TimelineView.ResourceHeight = 100;

The image below demonstrates the result.

ResourceHeight

The feature is available for the TimelineView.

The ResourceHeight property has effect when GroupType is SchedulerGroupType.Date or SchedulerGroupType.Resource. The ReshourceHeight does not have effect when any auto-height mode is enabled (see the AutoHeightMode property).

See Also