Skip to main content

ASPxNavBar.AllowSelectItem Property

Gets or sets a value specifying whether items can be selected within NavBar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public bool AllowSelectItem { get; set; }

Property Value

Type Default Description
Boolean false

true if items can be selected; otherwise false.


Set the AllowSelectItem property to true to enable item selection. If it is enabled, clicking on an item selects it. Otherwise, items cannot be selected. Note that only one item can be selected at the same time within the navbar control if the AllowSelectItem property is set to true.

Items can also be selected via code. Use the NavBarItem.Selected or the ASPxNavBar.SelectedItem property for this purpose.

See Also