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

NavBarSettings.AllowExpanding Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

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

Property Value

Type Description
Boolean

true if the expansion state of groups can be changed; otherwise, false.

Remarks

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

Note that if the Boolean property is set to false, the NavBarGroup.AllowExpanding property of groups is not in effect.

See Also