NavBarGroupCollection.ExpandAll() Method

Expands all groups which belong to the current collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public void ExpandAll()


Use the ExpandAll method to expand all groups within the navbar’s ASPxNavBar.Groups collection.

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

See Also