HotTrackSelectMode Enum

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public enum HotTrackSelectMode
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.

See Also