Back to Devexpress

RepositoryItemComboBox.CycleOnDblClick Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcombobox-310ed6d2.md

latest2.4 KB
Original Source

RepositoryItemComboBox.CycleOnDblClick Property

Gets a value indicating whether the end-user can navigate through dropdown values by double clicking the edit box.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool CycleOnDblClick { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Property CycleOnDblClick As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if double-clicking the edit box cycles through combo box items; otherwise, false.

|

Remarks

The CycleOnDblClick property enables the end-user to loop through items by double-clicking the edit box. This changes the ComboBoxEdit.SelectedIndex property to select the item following the current one. If the last item is selected, then double-clicking the edit box will select the first item.

The CycleOnDblClick property is only in effect if the RepositoryItemPopupBase.ShowDropDown property is set to ShowDropDown.Never.

See Also

ShowDropDown

Items

UseCtrlScroll

RepositoryItemComboBox Class

RepositoryItemComboBox Members

DevExpress.XtraEditors.Repository Namespace