Skip to main content

BaseListBoxControl.IncrementalSearch Property

Gets or sets whether incremental searching for items is enabled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool IncrementalSearch { get; set; }

Property Value

Type Default Description
Boolean false

true to activate incremental search; 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.

The following example activates the DevExpress ListBoxControl‘s incremental search:

Incremental Search - WinForms Listbox, DevExpress

void checkEdit1_CheckedChanged(object sender, System.EventArgs e)
{
    listBoxControl1.IncrementalSearch = checkEdit1.Checked;
}
See Also