[]
Paints the background.
protected override void PaintBackground(Graphics g, ref bool useXpStyles, bool toscreen, bool pressed, bool focus, Rectangle r, int dpx, int dpy, VisualStyles style, bool rightToLeft, Color backColor)
Protected Overrides Sub PaintBackground(g As Graphics, ByRef useXpStyles As Boolean, toscreen As Boolean, pressed As Boolean, focus As Boolean, r As Rectangle, dpx As Integer, dpy As Integer, style As VisualStyles, rightToLeft As Boolean, backColor As Color)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics object. |
bool | useXpStyles | Specifies whether to use XP style. |
bool | toscreen | Specifies whether paint to screen. |
bool | pressed | Specifies whether it is pressed. |
bool | focus | Specifies whether it is focused. |
Rectangle | r | Rectangle boundary. |
int | dpx | Integer number of resolution (DPI) along the x-axis |
int | dpy | Integer number of resolution (DPI) along the y-axis |
VisualStyles | style | Whether to turn on visual styles |
bool | rightToLeft | Whether drawing right to left |
Color | backColor | Cell background color |