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

GridViewCustomBindingArgsBase.FilterExpression Property

Gets the filter condition currently applied to the GridView (if any filtering is used).

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

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