[]
Paints a tab strip button.
public void PaintButton(Graphics g, int x, int y, int width, int height, TabStripButton button, bool mouseOver, bool pressed, bool isLeftToRight, bool enabled)
Public Sub PaintButton(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, button As TabStripButton, mouseOver As Boolean, pressed As Boolean, isLeftToRight As Boolean, enabled As Boolean)
| Type | Name | Description |
|---|---|---|
| Graphics | g | Graphics device interface for painting the tab strip |
| int | x | X-coordinate |
| int | y | Y-coordinate |
| int | width | Width, in pixels |
| int | height | Height, in pixels |
| TabStripButton | button | Button to render |
| bool | mouseOver | Whether the mouse is over the button |
| bool | pressed | Whether the button is pressed |
| bool | isLeftToRight | Whether the orientation is left to right |
| bool | enabled | Whether the sheet tab is enabled |