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

TcxSchedulerTimeGridView.OnGetMajorUnitDisplayText Event

In This Article

Fires every time the title of the major time scale’s unit is rendered.

#Declaration

Delphi
property OnGetMajorUnitDisplayText: TcxSchedulerTimeGridViewGetUnitDisplayTextEvent read; write;

#Remarks

Implement the OnGetMajorUnitDisplayText event handler to provide a custom title for the major time scale’s unit.

The Sender parameter specifies the TimeGrid View.

The AStart parameter specifies the start time of the major time scale’s unit, which is currently visible in the scheduling area.

The AFinish parameter specifies the end time of the last unit currently visible in the scheduling area (which is the same as the start time of the unit after it).

The ATextType parameter specifies the type of formatting for the text.

The AText parameter specifies the title’s text.

See Also