Skip to main content

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

Paints the cell brushes.

Declaration

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