[]
Paints the background of the enhanced header cell.
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 device interface for painting the header cell |
bool | useXpStyles | Whether to paint visual styles (XP themes) |
bool | toscreen | Whether to paint the header cell to the screen |
bool | pressed | Whether to paint the header cell as pressed |
bool | focus | Whether the header 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 | Visual styles setting |
bool | rightToLeft | Whether to draw as right-to-left |
Color | backColor | Background color of the header cell |