Skip to main content

GridViewCustomBindingArgsBase.FilterExpression Property

Gets the filter expression applied to the GridView.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string FilterExpression { get; protected set; }

Property Value

Type Description
String

A string value representing the applied filter criteria. An empty string, if no filtering is used.

Remarks

When implementing a method delegate of the GridViewCustomBindingGetUniqueHeaderFilterValuesHandler type, the FilterExpression property gets the GridView’s currently applied filter conditions that do not contain a filter criterion applied to the processed column specified by the GridViewCustomBindingGetUniqueHeaderFilterValuesArgs.FieldName property.

Refer to Implementation of Typed Method Delegates to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterExpression property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also