Spread Windows Forms 7.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 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.