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

dxSpreadSheetDrawBorder(TcxCanvas,TRect,TColor,TColor,TdxSpreadSheetCellBorderStyle,Boolean) Method

Paints the cell borders.

#Declaration

Delphi
procedure dxSpreadSheetDrawBorder(ACanvas: TcxCanvas; R: TRect; AColor: TColor; ABackgroundColor: TColor; AStyle: TdxSpreadSheetCellBorderStyle; AIsHorizontalBorder: Boolean);

#Parameters

Name Type
ACanvas TcxCanvas
R TRect
AColor TColor
ABackgroundColor TColor
AStyle TdxSpreadSheetCellBorderStyle
AIsHorizontalBorder Boolean

#Remarks

This procedure is used to paint the horizontal and vertical borders separating cells in the Table View worksheets.

The ACanvas parameter specifies the cell border canvas; the R parameter specifies the rectangle filled by the border.

The ABackgroundColor, AForegroundColor, and AStyle parameters specify the cell background color, the border color and the visual style of the border.

The AIsHorizontalBorder parameter specifies whether the painted borderline is horizontal.

See Also