Spread Windows Forms 7.0 Product Documentation
PaintTabStripButtonEventArgs Constructor
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PaintTabStripButtonEventArgs Class : PaintTabStripButtonEventArgs Constructor


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

Glossary Item Box

Creates a new object with the PaintTabStrip event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal g As Graphics, _
   ByVal buttonRectangle As Rectangle, _
   ByVal tabButton As TabStripButton, _
   ByVal pressed As Boolean _
)
Visual Basic (Usage)Copy Code
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)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.