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


view
View that contains the row
oldTop
Index of the previous top row
newTop
Index of the new top row
rowViewportIndex
Index of the viewport row in which the change occurred

Glossary Item Box

Creates a new object with the TopChange event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal oldTop As Integer, _
   ByVal newTop As Integer, _
   ByVal rowViewportIndex As Integer _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim oldTop As Integer
Dim newTop As Integer
Dim rowViewportIndex As Integer
 
Dim instance As New TopChangeEventArgs(view, oldTop, newTop, rowViewportIndex)
C# 
public TopChangeEventArgs( 
   SpreadView view,
   int oldTop,
   int newTop,
   int rowViewportIndex
)

Parameters

view
View that contains the row
oldTop
Index of the previous top row
newTop
Index of the new top row
rowViewportIndex
Index of the viewport row in which the change occurred

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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