Back to Devexpress

LinkSelectionModeType Enum

windowsforms-devexpress-dot-xtranavbar-a6ea78b7.md

latest2.5 KB
Original Source

LinkSelectionModeType Enum

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

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public enum LinkSelectionModeType
vb
Public Enum LinkSelectionModeType

Members

NameDescription
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.

|

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

LinkSelectionMode

DevExpress.XtraNavBar Namespace