Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / ExpandRow Method
Index of parent row to expand or collapse
Whether to expand and show the child sheet (or collapse and hide it)


In This Topic
    ExpandRow Method (SheetView)
    In This Topic
    Expands or collapses the specified parent row, which shows or hides the child view in a hierarchical display.
    Syntax
    'Declaration
     
    
    Public Sub ExpandRow( _
       ByVal row As Integer, _
       ByVal expand As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim expand As Boolean
     
    instance.ExpandRow(row, expand)
    public void ExpandRow( 
       int row,
       bool expand
    )

    Parameters

    row
    Index of parent row to expand or collapse
    expand
    Whether to expand and show the child sheet (or collapse and hide it)
    Exceptions
    ExceptionDescription
    Specified parent row index is out of range; must be between 0 and the total number of rows
    See Also