Skip to main content
Tab

ASPxNavBar.AllowSelectItem Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AllowSelectItem { get; set; }

Property Value

Type Default Description
Boolean false

true if items can be selected; otherwise false.

Remarks

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