A newer version of this page is available. Switch to the current version.

ViewFilter.Expression Property

Gets the total filter expression.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll


public string Expression { get; }

Property Value

Type Description

A string value representing the total filter expression. An empty string if there are no elements in the collection.


All the elements in the ViewFilter collection refer to specific filter conditions of the ColumnFilterInfo type. Each of these elements defines the filter expression used to filter the data and display text used to represent this expression within the filter panel.

The Expression property returns the total filter expression which is a combination of the individual filter expressions (individual filter expressions are combined using the Boolean AND operator). The ColumnView.RowFilter property returns the same value as the Expression property.

See Also