[]
Paints the 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 object. |
int | x | X-coordinate. |
int | y | Y-coordinate. |
int | width | Width. |
int | height | Height. |
TabStripButton | button | Tab strip button. |
bool | mouseOver | Specifies whether mouse is over. |
bool | pressed | Specifies whether it is pressed. |
bool | isLeftToRight | Specifies whether to paint from left to right. |
bool | enabled | Specifies whether it is enabled. |