Skip to main content

TcxSchedulerTimeGridViewStyles.OnGetMajorScaleParams Event

Fires before the ADateTime major scale unit is drawn when the style information on the unit is being updated.

Declaration

property OnGetMajorScaleParams: TcxSchedulerGetScaleItemStyleEvent read; write;

Remarks

Handle this event to apply a custom style to a specific major scale unit.

The Sender parameter specifies the TimeGrid View.

ADateTime specifies the currently processed unit.

AStyle represents a style that will be applied to ADateTime.

See the example in the Styles topic.

See Also