Back to Devexpress

TcxSchedulerTimeGridScaleCell Class

vcl-cxschedulertimegridview-0f7a149f.md

latest2.4 KB
Original Source

TcxSchedulerTimeGridScaleCell Class

The base class for classes that contain rendering data on TimeGrid View elements.

Declaration

delphi
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.

Inheritance

TObject TcxSchedulerCustomViewInfoItem TcxSchedulerTimeGridScaleCell

See Also

TcxSchedulerTimeGridScaleCell Members

cxSchedulerTimeGridView Unit