Skip to main content

TcxSchedulerTimeRulerCellViewInfo.Bounds Property

Gets the rectangle of the current time ruler.

Declaration

property Bounds[ACurrentTimeZone: Boolean]: TRect read;

Property Value

Type
TRect

Remarks

Use the Bounds property to obtain the coordinates of the current time ruler.

The ACurrentTimeZone parameter specifies the time ruler. A value of True means the primary time ruler. And a value of False – the second time ruler.

Note

if the second time ruler is not currently shown in the scheduling area (the scheduler’s OptionsView.ShowAdditionalTimeZone property is set to False), then the rectangle of the primary time ruler will be returned (if the ACurrentTimeZone parameter is set to False).

See Also