Spread Windows Forms 8.0 Product Documentation
GetChildWorkbooks Method
Example 


Gets all child views (SpreadView objects) that have been created.
Syntax
'Declaration
 
Public Function GetChildWorkbooks() As ArrayList
'Usage
 
Dim instance As SpreadView
Dim value As ArrayList
 
value = instance.GetChildWorkbooks()
public ArrayList GetChildWorkbooks()

Return Value

ArrayList of child workbooks (SpreadView objects) in a hierarchy

Example
This example uses the GetChildWorkbooks method.
FarPoint.Win.Spread.SpreadView sv, sv1;
ArrayList al;
sv = fpSpread1.GetRootWorkbook()
al = sv.GetChildWorkbooks();
sv1 = (FarPoint.Win.Spread.SpreadView) al[0];
sv1.GetSheetView().ActiveColumn.BackColor = Color.Yellow
Dim sv, sv1 As FarPoint.Win.Spread.SpreadView
Dim al As ArrayList
sv = FpSpread1.GetRootWorkbook()
al = sv.GetChildWorkbooks()
sv1 = CType(al(0), FarPoint.Win.Spread.SpreadView)
sv1.GetSheetView().ActiveColumn.BackColor = Color.Yellow
Requirements

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

See Also

Reference

SpreadView Class
SpreadView Members

User-Task Documentation

Working with Hierarchical Data Display

 

 


Copyright © GrapeCity, inc. All rights reserved.