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

NavBarGroup.ItemLinkMode Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(GroupItemLinkMode.Default)]
public GroupItemLinkMode ItemLinkMode { get; set; }
<DefaultValue(GroupItemLinkMode.Default)>
Public Property ItemLinkMode As GroupItemLinkMode

Property Value

Type Default Description
GroupItemLinkMode

Default

One of the GroupItemLinkMode enumeration values.

Remarks

Use the ItemLinkMode property to specify the manner in which items are displayed as links within the current group. 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 GroupItemLinkMode.ContentBounds value) or it is bounded by the size of the item's text (see the GroupItemLinkMode.TextOnly value) or the total size of the text and image (see the GroupItemLinkMode.TextAndImage).

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

The ItemLinkMode property affects items in an individual group of the navbar control. To specify the link mode for every item in the navbar control, set the ASPxNavBar.ItemLinkMode property of the ASPxNavBar object directly.

See Also