ColumnView.ClearFindFilter() Method

Discards the query in the Find Panel.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public void ClearFindFilter()
Public Sub ClearFindFilter

Remarks

Use the ApplyFindFilter(String) and ClearFindFilter() methods to apply and discard a search/filter query in code. See Find Panel Syntax to learn how to build queries.

// Specify a query.
gridView1.ApplyFindFilter("foo");

// Discard the query.
gridView1.ClearFindFilter();
// You can also pass an empty string
// to discard the query.
gridView1.ApplyFindFilter(String.Empty);
See Also