Skip to main content
A newer version of this page is available. .

SearchControl.SetFilter(String) Method

Sets the filter criteria.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public void SetFilter(
    string filter
)

Parameters

Name Type Description
filter String

A string value that is the filter criteria.

Remarks

Use the SetFilter method to specify the filter criteria in code. To clear the criteria, use the SearchControl.ClearFilter method.

See Also