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


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class > SetViewportTopRow Method : SetViewportTopRow(Int32) Method
The row index.
Sets the active row viewport's top row.
Syntax
'Declaration
 
Public Overloads Sub SetViewportTopRow( _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.SetViewportTopRow(value)
public void SetViewportTopRow( 
   int value
)

Parameters

value
The row index.
Example
This example uses the SetViewportTopRow method.
GcSpreadSheet1.AddColumnViewport(0, 100);
GcSpreadSheet1.AddRowViewport(0, 80);
GcSpreadSheet1.View.SetViewportLeftColumn(1);
GcSpreadSheet1.View.SetViewportTopRow(1);
GcSpreadSheet1.View.SetViewportLeftColumn(1, 1);
GcSpreadSheet1.View.SetViewportTopRow(1, 1);
GcSpreadSheet1.AddColumnViewport(0, 100)
GcSpreadSheet1.AddRowViewport(0, 80)
GcSpreadSheet1.View.SetViewportLeftColumn(1)
GcSpreadSheet1.View.SetViewportTopRow(1)
GcSpreadSheet1.View.SetViewportLeftColumn(1, 1)
GcSpreadSheet1.View.SetViewportTopRow(1, 1)
See Also

Reference

SheetView Class
SheetView Members
Overload List