LookUpEditBase.IncrementalSearch Property
Gets or sets whether incremental searching for items is enabled.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if incremental searching for items is enabled; otherwise, false. |
Remarks
The incremental search feature allows an end-user to quickly locate items by typing the initial characters of the item’s text. The search is performed in the forward direction. Once an item that matches the search criteria has been found, an end-user can continue searching for the next item matching the same criteria. To continue searching in the forward or backward direction, press the CTRL+DOWN ARROW and CTRL+UP ARROW keys, respectively.
Note
Dropdown editors specifics In order for the IncrementalSearch property to have an effect on dropdown editors, the ButtonEdit.IsTextEditable and LookUpEditBase.AutoComplete properties must be set to false and true, respectively.
To enable the incremental search for Token Editors, additionally set the PopupBaseEdit.FocusPopupOnOpen property to true.
The following example demonstrates a token combo box editor with incremental search enabled.
<dxe:ComboBoxEdit ItemsSource="{Binding Data}" DisplayMember="Name" IncrementalSearch="True"
IsTextEditable="False" AutoComplete="True" FocusPopupOnOpen="True">
<dxe:ComboBoxEdit.StyleSettings>
<dxe:TokenComboBoxStyleSettings/>
</dxe:ComboBoxEdit.StyleSettings>
</dxe:ComboBoxEdit>