[]
        
(Showing Draft Content)

C1.Win.C1Command.Docking.Drawing.BoxRenderer.DrawThemedBox

DrawThemedBox Method

DrawThemedBox(Graphics, Rectangle, Brush, Color, int, bool)

Draws the rectangle with parameters.

Declaration
public void DrawThemedBox(Graphics g, Rectangle r, Brush b, Color borderColor, int corners, bool isConvex)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

Rectangle r

The rectangle area to paint.

Brush b

A Brush object to fill the rectangle.

Color borderColor

The color of the border of the rectangle.

int corners

Radius of all rectangle corners, in pixels.

bool isConvex

DrawThemedBox(Graphics, Rectangle, Brush, Color, Color, Color, int, TabAlignment, bool, bool)

Draws the rectangle with parameters.

Declaration
public void DrawThemedBox(Graphics g, Rectangle r, Brush b, Color borderColor, Color borderColor2, Color borderColor3, int corners, TabAlignment orientation, bool skipBottomCorners, bool isConvex)
Parameters
Type Name Description
Graphics g

A Graphics object that encapsulates a GDI+ drawing surface.

Rectangle r

The rectangle area to paint.

Brush b

A Brush object to fill the rectangle.

Color borderColor

A Color structure that represents the border starting color for the gradient.

Color borderColor2

A Color structure that represents the border ending color for the gradient.

Color borderColor3

The tab bottom line color.

int corners

Radius of all rectangle corners, in pixels.

TabAlignment orientation

A TabAlignment structure that specifies the locations of the tabs in a tab control.

bool skipBottomCorners
bool isConvex