Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LinkSelectionModeType Enum

Defines the set of values used to specify the link selection mode in the NavBarControl.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public enum LinkSelectionModeType

#Members

Name Description
None

Link selection is disabled.

OneInControl

Only one link at a time can be selected throughout the NavBarControl.

OneInGroup

Each group can have a selected link independent of other groups. A group will not have a selected link until you or an end-user has explicitly selected a link.

OneInGroupAndAllowAutoSelect

Each group has a selected link independent of other groups. Unlike the LinkSelectionModeType.OneInGroup mode, the OneInGroupAndAllowAutoSelect mode enables automatic link selection in a group (on group activation) if the group does not already have a selection. By default, the first link in the group is auto-selected. To prevent a specific link from being auto-selected, use the NavBarItem.AllowAutoSelect and NavBarItemLink.AllowAutoSelect properties.

Note

Automatic link selection is not supported for Explorer Bar Views.

#Related API Members

The following properties accept/return LinkSelectionModeType values:

#Remarks

Values of this enumeration are used to set the NavBarControl.LinkSelectionMode property to specify the link selection mode.

See Also