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

dxSpreadSheetDrawBackground(TcxCanvas,TRect,TColor,TColor,TdxSpreadSheetCellFillStyle) Method

Paints the cell brushes.

#Declaration

Delphi
procedure dxSpreadSheetDrawBackground(ACanvas: TcxCanvas; const R: TRect; ABackgroundColor: TColor; AForegroundColor: TColor; AFillStyle: TdxSpreadSheetCellFillStyle);

#Parameters

Name Type
ACanvas TcxCanvas
R TRect
ABackgroundColor TColor
AForegroundColor TColor
AFillStyle TdxSpreadSheetCellFillStyle

#Remarks

This procedure is used to paint the cell background areas in Table View worksheets.

The ACanvas parameter specifies the cell canvas; the R parameter specifies the cell’s bounding rectangle.

The ABackgroundColor, AForegroundColor and the AFillStyle parameters specify the cell brush’s background color, pattern color and pattern style, respectively.

See Also