PaintTabStripButtonEventArgs Constructor
In This Topic
Creates a new object with the PaintTabStrip event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As Graphics, _
ByVal As Rectangle, _
ByVal As TabStripButton, _
ByVal As Boolean _
)
'Usage
Dim view As SpreadView
Dim g As Graphics
Dim buttonRectangle As Rectangle
Dim tabButton As TabStripButton
Dim pressed As Boolean
Dim instance As New PaintTabStripButtonEventArgs(view, g, buttonRectangle, tabButton, pressed)
public PaintTabStripButtonEventArgs(
SpreadView ,
Graphics ,
Rectangle ,
TabStripButton ,
bool
)
Parameters
- view
- View that contains the sheet
- g
- Graphics device
- buttonRectangle
- Rectangle area representing the tab
- tabButton
- TabStripButton to paint
- pressed
- Specifies whether the button is pressed
See Also