Skip to main content
A newer version of this page is available. .

HotTrackSelectMode Enum

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

public enum HotTrackSelectMode

Members

Name Description
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.

Related API Members

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HotTrackSelectMode 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.

See Also