Skip to main content

SearchControl.SetFilter(String) Method

Sets the filter criteria.

Namespace: DevExpress.XtraEditors

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