Accordion for WinForms | ComponentOne
C1.Win.Accordion Namespace / C1Accordion Class / CollapseAll Method
An index Pages item to stay expanded when AllowCollapseAll is false. Default is 0.

In This Topic
    CollapseAll Method
    In This Topic
    Collapses all Accordion pages (instead one if collapsing all pages is not allowed).
    Syntax
    'Declaration
     
    
    Public Sub CollapseAll( _
       Optional ByVal stayExpanded As Integer _
    ) 
    public void CollapseAll( 
       int stayExpanded
    )

    Parameters

    stayExpanded
    An index Pages item to stay expanded when AllowCollapseAll is false. Default is 0.
    See Also