Skip to main content

TcxSchedulerTimeGridView.OnGetMajorUnitDisplayText Event

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

Declaration

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