Method DrawBackground
DrawBackground(IPainter, Rectangle, Color, Color)
Draws the control background within the specified rectangle with current theme.
public static void DrawBackground(IPainter painter, Rectangle rect, Color startColor, Color endColor)
Parameters
painterIPainterSpecifies
IPainterobject used to draw text and graphic primitives.rectRectangleThe Rectangle that represents the dimensions of the control.
startColorColorSpecifies start background color for gradient background painting when no theme is available.
endColorColorSpecifies end background color for gradient background painting when no theme is available.