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

ColumnView.RowFilter Property

Gets the expression used to filter the records displayed within the View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[Browsable(false)]
public string RowFilter { get; }

Property Value

Type Description
String

A string value representing the expression used to filter records. An empty string if no filtering is currently applied.

Remarks

You can filter data using the GridColumn.FilterInfo property of one or more columns. End-users can use filter dropdowns and the auto filter row (in Grid Views) to filter data by the values of particular columns. The RowFilter property returns an expression representing the overall filtering condition applied. Below is an example of a filtering expression:[UnitPrice] > 10 AND [CategoryName] = 'Dairy Products'

The RowFilter property is equivalent to the ViewFilter.Expression property of the ColumnView.ActiveFilter object.

The ColumnView.FilterPanelText property represents the text representation of the RowFilter string and this is displayed within the filter panel.

See Also