Skip to main content

TcxCustomScheduler.FirstVisibleResourceIndex Property

Specifies the zero-based index of the leftmost visible resource in the scheduling area.

Declaration

property FirstVisibleResourceIndex: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

If the FirstVisibleResourceIndex property is set to the index of a resource that is outside of the scheduling area’s boundaries then the given resource will be scrolled into the scheduling area.

Depending upon how many resources are located after the specified resource and the number of resources displayed at a time in the scheduling area the specified resource will either become the leftmost resource or simply scrolled into view.

For example, if four resources are displayed at a time in the scheduling area and the specified resource has three or more resources located after it, then it will be displayed as the leftmost resource. However, if there are only two resources located after the specified resource then it will be displayed as the second visible resource, and the resource prior to it will become the leftmost resource and the one returned by this property.

The default value of the FirstVisibleResourceIndex property is 0.

See Also