Skip to main content

TcxSchedulerEventCellViewInfo.DrawState(TcxCanvas,TRect,TcxBorders,TColor) Method

Paints the ARect rectangle in the color of the user event‘s current availability status.

Declaration

procedure DrawState(ACanvas: TcxCanvas; const ARect: TRect; ABorders: TcxBorders; ABorderColor: TColor); overload;

Parameters

Name Type
ACanvas TcxCanvas
ARect TRect
ABorders TcxBorders
ABorderColor TColor

Remarks

Use the DrawState method to draw the ARect rectangle in the color of the user event’s current availability status.

The ACanvas parameter specifies the canvas on which the ARect rectangle will be painted.

The ARect parameter specifies the rectangle to be painted (see, for example, the TimeLineRect and EventTimeRect properties).

The ABorders parameter specifies which borders to draw.

The ABorderColor parameter specifies the color of the ABorders borders.

See Also