Skip to main content

ColumnView.RowFilter Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

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

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