Spread Windows Forms 12.0 Product Documentation
Row Property (ScrollTipFetchEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ScrollTipFetchEventArgs Class : Row Property
Gets the new top row index. If the user changes the horizontal scrollbar, this value is -1.
Syntax
'Declaration
 
Public ReadOnly Property Row As Integer
'Usage
 
Dim instance As ScrollTipFetchEventArgs
Dim value As Integer
 
value = instance.Row
public int Row {get;}

Property Value

Integer row index
Example
This example sets the text for the scroll tip.
fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both;

private void fpSpread1ScrollTipFetch(object sender, FarPoint.Win.Spread.ScrollTipFetchEventArgs e)
{
     e.ShowTip = true;
     e.TipText = "Scrolling to row " + e.Row.ToString();
}
fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both

Private Sub fpSpread1ScrollTipFetch(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ScrollTipFetchEventArgs) Handles
fpSpread1.ScrollTipFetch
     e.ShowTip = True
     e.TipText = "Scrolling to row " + e.Row.ToString()
End Sub
See Also

Reference

ScrollTipFetchEventArgs Class
ScrollTipFetchEventArgs Members