LinkSelectionModeType Enum
Defines the set of values used to specify the link selection mode in the NavBarControl.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v18.1.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LinkSelectionModeType enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.