A newer version of this page is available. Switch to the current version.

NavBarGroup.AllowExpanding Property

Gets or sets a value that specifies whether the group's expansion state can be changed via an end-user's interaction.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public bool AllowExpanding { get; set; }
Public Property AllowExpanding As Boolean

Property Value

Type Default Description


true if the group's expansion state can be changed; otherwise, false.


Use the AllowExpanding property to control whether an end-user can expand or collapse a group. The setting of the AllowExpanding property doesn't affect the ability of expanding/collapsing a group via code.

Note that if the navbar's ASPxNavBar.AllowExpanding property is set to false, the AllowExpanding property is not in effect.

See Also