Spread Windows Forms 10.0 Product Documentation
GetRootSheet Method
Example 


Gets the top SheetView object.
Syntax
'Declaration
 
Public Function GetRootSheet() As SheetView
'Usage
 
Dim instance As SheetView
Dim value As SheetView
 
value = instance.GetRootSheet()
public SheetView GetRootSheet()

Return Value

SheetView object containing the top sheet in a hierarchy of sheets
Example
This example illustrates the method by returning the top sheet in the view.
FarPoint.Win.Spread.SheetView sv;
sv = fpSpread1.ActiveSheet.GetRootSheet();
label1.Text = "The top sheet is - " + sv.SheetName;
Dim sv As FarPoint.Win.Spread.SheetView
sv = FpSpread1.ActiveSheet.GetRootSheet()
Label1.Text = "The top sheet is - " & sv.SheetName
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Managing Data Binding
Working with Multiple Sheets

 

 


Copyright © GrapeCity, inc. All rights reserved.