Back to Devexpress

ColumnView.RowFilter Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-f7277bbc.md

latest2.8 KB
Original Source

ColumnView.RowFilter Property

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

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public string RowFilter { get; }
vb
<Browsable(False)>
Public ReadOnly Property RowFilter As String

Property Value

TypeDescription
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

FilterPanelText

RowFilter

Filter and Search

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace