Skip to main content

ASPxClientNavBarGroup.SetExpanded(value) Method

Sets the group’s expansion state.

Declaration

SetExpanded(
    value: boolean
): void

Parameters

Name Type Description
value boolean

true to expand the group; false to collapse the group.

Remarks

Use the SetExpanded property to collapse or expand a group on the client-side.

Pass the true value as the parameter to expand a group and display its items.

If the value parameter is set to false, the current group collapses and all its items get hidden.

When a call to a group’s SetExpanded method changes the group’s expansion state, the ASPxClientNavBar.ExpandedChanging event is fired.

See Also