Tab

NavBarGroupCollection.CollapseAll() Method

Collapses all groups that belong to the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public void CollapseAll()

Remarks

Use the CollapseAll method to collapse all groups contained within the navbar’s ASPxNavBar.Groups collection.

Note that a call to this method collapses the expanded groups even if the navbar’s ASPxNavBar.AllowExpanding (or a group’s NavBarGroup.AllowExpanding) property is set to false. A call to the CollapseAll method does not generate a sequence of the ASPxNavBar.ExpandedChanging and ASPxNavBar.ExpandedChanged events.

See Also