Spread Silverlight Documentation
GetViewportBottomRow(Int32) Method
Example 


The row viewport index.
Gets the row viewport's bottom row index.
Syntax
'Declaration
 
Public Function GetViewportBottomRow( _
   ByVal rowViewportIndex As System.Integer _
) As System.Integer
'Usage
 
Dim instance As SheetView
Dim rowViewportIndex As System.Integer
Dim value As System.Integer
 
value = instance.GetViewportBottomRow(rowViewportIndex)
public System.int GetViewportBottomRow( 
   System.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()
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.