Spread for ASP.NET 11 Product Documentation
FindChildView Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : FindChildView Method
Row index of the sheet
Relation index
Gets the child view in a hierarchical display with the specified row and data relation index.
Syntax
'Declaration
 
Public Overridable Function FindChildView( _
   ByVal row As Integer, _
   ByVal relationIndex As Integer _
) As SheetView
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim relationIndex As Integer
Dim value As SheetView
 
value = instance.FindChildView(row, relationIndex)
public virtual SheetView FindChildView( 
   int row,
   int relationIndex
)

Parameters

row
Row index of the sheet
relationIndex
Relation index

Return Value

Child SheetView object containing the sheet with the specified name
Example
This example finds the child sheet view with the specified row and data relation index.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.FindChildView(0, 0).BackColor = Color.Yellow;
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.FindChildView(0, 0).BackColor = Color.Yellow
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Displaying Data as a Hierarchy