Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseListBoxControl.IncrementalSearch Property

Gets or sets whether incremental searching for items is enabled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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:

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