windowsforms-devexpress-dot-xtraeditors-dot-baselistboxcontrol-e2cb6d58.md
Gets or sets whether incremental searching for items is enabled.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool IncrementalSearch { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Overridable Property IncrementalSearch As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to activate incremental search; otherwise, false.
|
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;
}
Private Sub checkEdit1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)
listBoxControl1.IncrementalSearch = checkEdit1.Checked
End Sub
See Also