Skip to main content

TcxSchedulerTimeGridView.OnCustomDrawSelectionBar Event

Occurs every time the time selection bar unit is about to be drawn.

Declaration

property OnCustomDrawSelectionBar: TcxSchedulerCustomDrawSelectionBarEvent read; write;

Remarks

Handle the OnCustomDrawSelectionBar event to custom draw the time selection bar.

The Sender parameter specifies the TimeGrid View.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter returns ViewInfo information required for rendering the time selection bar.

The ADone parameter specifies if built-in draw routines are executed. Set ADone to True to prevent the default painting.

See Also