[]
Paints the background of the enhanced header cell.
protected virtual 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 Overridable 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 device interface for painting the cell |
bool | useXpStyles | Whether to use XP themes |
bool | toscreen | Whether painting to the screen |
bool | pressed | Whether in a pressed state |
bool | focus | Whether the cell has focus |
Rectangle | r | Boundary rectangle |
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 |