Skip to main content
A newer version of this page is available. .
Tab

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.v19.1.dll

Declaration

[DefaultValue(true)]
public bool AllowExpanding { get; set; }

Property Value

Type Default Description
Boolean **true**

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

Remarks

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