[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.GridRenderer.DrawBorder

DrawBorder Method

DrawBorder(Graphics, Rectangle, BorderStyle, Color)

Draws the 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

Border rectangle area.

BorderStyle borderStyle

Border style.

Color borderColor

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

Border rectangle area.

Returns
Type Description
bool

Whether the border needs to be painted.