TcxSchedulerTimeGridScaleCell Class
The base class for classes that contain rendering data on TimeGrid View elements.
Declaration
TcxSchedulerTimeGridScaleCell = class(
TcxSchedulerCustomViewInfoItem
)
Remarks
TcxSchedulerTimeGridScaleCell descendants provide information on related View elements: the time selection bar, the major and minor time scales. This information is passed as the ViewInfo parameter to the View’s OnCustomDrawMajorUnit, OnCustomDrawMinorUnit and OnCustomDrawSelectionBar events. You can handle them to custom paint corresponding elements.
The TcxSchedulerTimeGridScaleCell class contains data common to all the TimeGrid View’s elements:
The horizontal contents alignment in the unit (AlignHorz).
The vertical contents alignment in the unit (AlignVert).
The color of the unit’s border (BorderColor).
The end time of the rightmost unit currently visible in the scheduling area (TimeFinish).
The start time of the rightmost unit currently visible in the scheduling area (TimeStart).
Do not use the TcxSchedulerTimeGridScaleCell class directly. Use its descendants instead.