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

NavBarSettings.ItemLinkMode Property

Gets or sets a value that specifies how items are represented as links within the NavBar.

Namespace: DevExpress.Web.Mvc

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

Declaration

public ItemLinkMode ItemLinkMode { get; set; }
Public Property ItemLinkMode As ItemLinkMode

Property Value

Type Description
ItemLinkMode

One of the ItemLinkMode enumeration values.

Remarks

Use the ItemLinkMode property to specify the manner in which items are displayed as links within the groups of the NavBar. This property controls whether the clickable content of each item which serves as a link (the item whose NavBarItem.NavigateUrl property is defined) extends to the width of the group's boundaries (see the ItemLinkMode.ContentBounds value) or is bound by the size of the item's text (see the ItemLinkMode.TextOnly value) or the total size of the text and image (see the ItemLinkMode.TextAndImage).

Note that when the ItemLinkMode property is set to the ItemLinkMode.ContentBounds value, the NavBar's items can be hot-tracked (if the hot-track feature is enabled via the NavBarSettings.EnableHotTrack property).

The ItemLinkMode property affects every item in the NavBar. To specify the link mode for an individual group, set the NavBarGroup.ItemLinkMode property of the MVCxNavBarGroup object directly.

See Also