Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GroupBase Class / Collapse Method


In This Topic
    Collapse Method
    In This Topic
    Collapses the group and all its child groups.
    Syntax
    'Declaration
     
    Public Sub Collapse() 
    'Usage
     
    Dim instance As GroupBase
     
    instance.Collapse()
    public void Collapse()
    Remarks

    Collapsing a group will also collapse all child groups, however the child groups do not loose their collapsed state.

    If the rows inside the group have the Row.VisibleWhenCollapsed property set to true then they will not be collapsed. For example, a GroupManagerRow by default, has its VisibleWhenCollapsed property set to true.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also