GrapeCity.Xaml.SpreadSheet.UI
GetStartIndexToBringTabIntoView Method
Example 


Index of the tab.
Calculates the start index to bring the tab into view.
Syntax
'Declaration
 
Public Function GetStartIndexToBringTabIntoView( _
   ByVal tabIndex As Integer _
) As Integer
'Usage
 
Dim instance As SpreadView
Dim tabIndex As Integer
Dim value As Integer
 
value = instance.GetStartIndexToBringTabIntoView(tabIndex)
public int GetStartIndexToBringTabIntoView( 
   int tabIndex
)

Parameters

tabIndex
Index of the tab.
Remarks
This method gets the index of the tab that needs to be set as the left-most tab to make sure that the specified sheet index's tab is visible.
Example
This example uses the GetStartIndexToBringTabIntoView method.
GcSpreadSheet1.SheetCount = 5;
TextBox1.Text = GcSpreadSheet1.View.GetStartIndexToBringTabIntoView(2).ToString();
GcSpreadSheet1.SheetCount = 5
TextBox1.Text = GcSpreadSheet1.View.GetStartIndexToBringTabIntoView(2).ToString()
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SpreadView Class
SpreadView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options