Item Link Mode

Since ASPxNavBar items are navigation elements (links), you can activate a specific link mode in which only certain item elements are clickable. To accomplish this, use the ASPxNavBar.ItemLinkMode property. ASPxNavBar allows you to specify different modes for groups using the group's NavBarGroup.ItemLinkMode property.

Options include:

  • TextOnly. Only an item's text is clickable.
  • TextAndImage. Only an item's text and image are clickable.
  • ContentBounds. The entire item's content is clickable.

The image below shows two NavBars in two link modes - ContentBounds and TextOnly.

 

NavBar_ItemLinkMode