Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnView.RowFilter Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.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