BaseListBoxControl.IncrementalSearch Property
Gets or sets whether incremental searching for items is enabled.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
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