[]
        
(Showing Draft Content)

C1.Win.C1TrueDBGrid.GridRenderer.DrawBorder

DrawBorder Method

DrawBorder(Graphics, Rectangle, BorderStyle, Color)

Draws the cell border.

Declaration
public static bool DrawBorder(Graphics g, Rectangle r, BorderStyle borderStyle, Color borderColor)
Parameters
Type Name Description
Graphics g

A Graphics object.

Rectangle r

Cell border rectangle.

BorderStyle borderStyle

The border style.

Color borderColor

The border color.

Returns
Type Description
bool

Whether the border needs to be painted.

DrawBorder(Graphics, Rectangle)

Draws the border.

Declaration
public abstract bool DrawBorder(Graphics g, Rectangle r)
Parameters
Type Name Description
Graphics g

A Graphics object.

Rectangle r

The border rectangle area.

Returns
Type Description
bool