RepositoryItemCheckedComboBoxEdit.HotTrackSelectMode Property
Gets or sets how items in the embedded CheckedListBoxControl are selected when item hot-tracking is enabled.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(HotTrackSelectMode.SelectItemOnHotTrack)]
[DXCategory("Behavior")]
public virtual HotTrackSelectMode HotTrackSelectMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Hot |
Select |
A Hot |
Available values:
Name | Description |
---|---|
Select |
If item hot-tracking is enabled, an item is selected when hovering over it with the mouse. |
Select |
If item hot-tracking is enabled, an item is selected when clicked. This option is not in effect if the Base |
Select |
The same as the Hot If item skinning is enabled via the Base |
#Remarks
Note
The Checked
Dedicated options provided by the Repository
To learn more about the difference between the item states, see the Checked States vs. Selection vs. Hot-Tracking section in the Checked
To enable item hot-tracking, set the RepositoryItemCheckedComboBoxEdit.HotTrackItems property to true, and ensure that multiple item selection is disabled (see RepositoryItemCheckedComboBoxEdit.AllowMultiSelect).
The HotTrackSelectMode and RepositoryItemCheckedComboBoxEdit.HighlightedItemStyle properties specify the way hot-tracked items are selected. Choose from the following two modes:
Immediately select an item once it is hot-tracked (the default mode)
This mode is in effect in the following cases:
- The RepositoryItemCheckedComboBoxEdit.HighlightedItemStyle property is set to Default or Skinned, and the HotTrackSelectMode property is set to SelectItemOnHotTrack or SelectItemOnHotTrackEx.
- The RepositoryItemCheckedComboBoxEdit.HighlightedItemStyle property is set to Standard.
Select a hot-tracked item after a click
To enable this mode, set the properties as follows:
- The RepositoryItemCheckedComboBoxEdit.HighlightedItemStyle property to Default or Skinned, and the HotTrackSelectMode property to SelectItemOnClick.