GrapeCity.Xaml.SpreadSheet.UI
GetViewportBottomRow(Int32) Method
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : GetViewportBottomRow(Int32) Method
The row viewport index.
Gets the row viewport's bottom row index.
Syntax
'Declaration
 
Public Function GetViewportBottomRow( _
   ByVal rowViewportIndex As Integer _
) As Integer
'Usage
 
Dim instance As SheetView
Dim rowViewportIndex As Integer
Dim value As Integer
 
value = instance.GetViewportBottomRow(rowViewportIndex)
public int GetViewportBottomRow( 
   int rowViewportIndex
)

Parameters

rowViewportIndex
The row viewport index.

Return Value

The bottom row index in the row viewport.
Example
This example uses the GetViewportBottomRow method.
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString();
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString()
See Also

Reference

SheetView Class
SheetView Members