Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TopChangeEventArgs Class / TopChangeEventArgs Constructor
View that contains the row
Index of the previous top row
Index of the new top row
Index of the viewport row in which the change occurred


In This Topic
    TopChangeEventArgs Constructor
    In This Topic
    Creates a new object with the TopChange event arguments.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal view As SpreadView, _
       ByVal oldTop As Integer, _
       ByVal newTop As Integer, _
       ByVal rowViewportIndex As Integer _
    )
    'Usage
     
    
    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)
    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
    See Also