Skip to main content

VGridControlBase.ApplyFindFilter(String) Method

Fills in the Find Panel with the specified query and applies it.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public bool ApplyFindFilter(
    string filter
)

Parameters

Name Type Description
filter String

A string value that specifies the query.

Returns

Type Description
Boolean

true if the query is successfully applied; otherwise, false.

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.
vGridControl1.ApplyFindFilter("foo");

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