GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class > SetViewportTopRow Method : SetViewportTopRow(Int32,Int32) Method |
'Declaration Public Overloads Overridable Sub SetViewportTopRow( _ ByVal rowViewportIndex As Integer, _ ByVal value As Integer _ )
'Usage Dim instance As SheetView Dim rowViewportIndex As Integer Dim value As Integer instance.SetViewportTopRow(rowViewportIndex, value)
public virtual void SetViewportTopRow( int rowViewportIndex, int value )
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)
Target Platforms: Windows Server 2012, Windows RT