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

RowProperties.FilterMode Property

Gets or sets whether display or edit values of this row are used to filter the control’s data.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

[DefaultValue(ColumnFilterMode.Value)]
[XtraSerializableProperty]
public ColumnFilterMode FilterMode { get; set; }

#Property Value

Type Default Description
ColumnFilterMode Value

A ColumnFilterMode enumeration value that specifies whether display or edit values of this row are used to filter the control’s data.

Available values:

Name Description
Value

A column’s data is filtered by the edit values.

DisplayText

A column’s data is filtered by the display text.

#Remarks

By default, values from the underlying data source are used to filter the control’s data from the filter dropdown. However, cell values can be formatted using a custom format (see RowProperties.DisplayFormat). To filter the control’s data by display text rather than data source values, set the FilterMode property to DisplayText.

To filter non-string column values with string operators (“Contains”, “Starts With”, and others), set FilterMode to DisplayText. This approach is also applicable to other DevExpress data-aware controls (Gantt Control, Data Grid, TreeList).

See Also