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


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
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

Reference

ScrollTipFetchEventArgs Class
ScrollTipFetchEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.