Back to Devexpress

WinExplorerView.CollapseAllGroups() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerview-924c389b.md

latest2.2 KB
Original Source

WinExplorerView.CollapseAllGroups() Method

Collapses all currently expanded groups within this WinExplorerView.

Namespace : DevExpress.XtraGrid.Views.WinExplorer

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public void CollapseAllGroups()
vb
Public Sub CollapseAllGroups

Remarks

Items within a WinExplorerView can be grouped against a GridColumn specified by the WinExplorerViewColumns.GroupColumn property. All existing groups within the View can be expanded or collapsed with the WinExplorerView.ExpandAllGroups or CollapseAllGroups methods respectively.

See WinExplorer View for details.

See Also

GroupColumn

ExpandAllGroups()

WinExplorer View

WinExplorerView Class

WinExplorerView Members

DevExpress.XtraGrid.Views.WinExplorer Namespace