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

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

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

#Declaration

Delphi
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