Spread Windows Forms 12.0 Product Documentation
GetRootSheet Method

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetRootSheet Method
Gets the top SheetView object.
Public Function GetRootSheet() As SheetView
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
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
See Also


SheetView Class
SheetView Members

User-Task Documentation

Managing Data Binding
Working with Multiple Sheets