Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetChildView(Int32,Int32) Method
Row whose child sheet is to be created
Index to the data relation collection


In This Topic
    GetChildView(Int32,Int32) Method
    In This Topic
    Creates the sheet (SheetView object) for the specified row and the specified relation index.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetChildView( _
       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.GetChildView(row, relationIndex)
    public virtual SheetView GetChildView( 
       int row,
       int relationIndex
    )

    Parameters

    row
    Row whose child sheet is to be created
    relationIndex
    Index to the data relation collection
    Exceptions
    ExceptionDescription
    Specified sheet does not support a child sheet
    Specified row index is out of range; must be between 0 and the number of rows
    Specified relation index is out of range; must be between 0 and the number of relations
    See Also