Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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