Spread Silverlight Documentation
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 System.Integer _
) As System.Integer
'Usage
 
Dim instance As SpreadView
Dim tabIndex As System.Integer
Dim value As System.Integer
 
value = instance.GetStartIndexToBringTabIntoView(tabIndex)
public System.int GetStartIndexToBringTabIntoView( 
   System.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 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

SpreadView Class
SpreadView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.