[]
        
(Showing Draft Content)

FarPoint.Win.Spread.EnhancedInterfaceRenderer.PaintButton

PaintButton Method

PaintButton(Graphics, int, int, int, int, TabStripButton, bool, bool, bool, bool)

Paints a tab strip button.

Declaration
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)
Parameters
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 button is enabled

Implements