Spread Windows Forms 11.0 Product Documentation
PaintTabStripButtonEventArgs Constructor


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PaintTabStripButtonEventArgs Class : PaintTabStripButtonEventArgs Constructor
View that contains the sheet
Graphics device
Rectangle area representing the tab
TabStripButton to paint
Specifies whether the button is pressed
Creates a new object with the PaintTabStrip event arguments.
Syntax
'Declaration
 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal g As Graphics, _
   ByVal buttonRectangle As Rectangle, _
   ByVal tabButton As TabStripButton, _
   ByVal pressed 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 view,
   Graphics g,
   Rectangle buttonRectangle,
   TabStripButton tabButton,
   bool pressed
)

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

Reference

PaintTabStripButtonEventArgs Class
PaintTabStripButtonEventArgs Members