ASPxClientNavBar.CollapseAll Method

Collapses all groups of the navbar.

Declaration

CollapseAll(): void

Remarks

Use the CollapseAll method to collapse all groups within the navbar on the client side.

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 ASPxClientNavBar.ExpandedChanging and ASPxClientNavBar.ExpandedChanged events.

See Also