Skip to main content

LookUpEditBase.FindMode Property

Gets or sets whether data searching starts automatically, or must be started manually. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public FindMode? FindMode { get; set; }

Property Value

Type Description
Nullable<FindMode>

A FindMode enumeration value that specifies the find mode.

Available values:

Name Description
Always

A control starts searching data automatically, after a small delay.

FindClick

A control starts searching data on clicking the Find button, pressing ENTER or moving focus from the search panel.

Remarks

If the FindMode property is set to FindMode.Always, the data searching is initiated automatically after a small delay. If the FindMode property is set to FindMode.FindClick, the data searching is initiated on clicking the Find button, pressing ENTER or moving focus from the search panel.

If the FindMode property is set to a null reference, the search mode depends on the editor’s type. In a SearchLookUpEdit, data searching is automatically activated. In a LookUpEdit, the search is performed by clicking the Find button (if it is displayed).

When filtering is applied, the content of data cells that satisfies the filter rule is highlighted, as shown in the image below:

SearchLookUpEdit highlight

See Also