All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TimelineView.ResourceHeight Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(0)]
public int ResourceHeight { get; set; }
<DefaultValue(0)>
Public Property ResourceHeight As Integer

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 CellsAutoHeightOptions is Enabled.

See Also