Back to Devexpress

HotTrackSelectMode Enum

windowsforms-devexpress-dot-xtraeditors-098e4eac.md

latest2.7 KB
Original Source

HotTrackSelectMode Enum

Enumerates values that specify how list box items are selected when item hot-tracking is enabled.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum HotTrackSelectMode
vb
Public Enum HotTrackSelectMode

Members

NameDescription
SelectItemOnHotTrack

If item hot-tracking is enabled, an item is selected when hovering over it with the mouse.

| | SelectItemOnClick |

If item hot-tracking is enabled, an item is selected when clicked. This option is not in effect if the BaseListBoxControl.HighlightedItemStyle property is set to HighlightStyle.Standard.

| | SelectItemOnHotTrackEx |

The same as the HotTrackSelectMode.SelectItemOnHotTrack option plus the following.

If item skinning is enabled via the BaseListBoxControl.HighlightedItemStyle option, the BaseListBoxControl.SelectedIndexChanged event is raised each time an item is hot-tracked. In HotTrackSelectMode.SelectItemOnHotTrack mode, the BaseListBoxControl.SelectedIndexChanged event is raised only when clicking the item.

|

The following properties accept/return HotTrackSelectMode values:

Remarks

Use the BaseListBoxControl.HotTrackSelectMode property to specify how list box items must be selected when item hot-tracking is enabled. Item hot-tracking can be enabled via the BaseListBoxControl.HotTrackItems option.

See Also

DevExpress.XtraEditors Namespace