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

ViewFilter.DisplayText Property

OBSOLETE

Use the ColumnView.FilterPanelText property or ColumnView.GetFilterDisplayText method instead

Gets the textual representation of the entire filter string. This property is obsolete. Use the FilterPanelText property instead.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the ColumnView.FilterPanelText property or ColumnView.GetFilterDisplayText method instead")]
public string DisplayText { get; }

#Property Value

Type Description
String

The textual representation of the entire filter string.

#Remarks

This property is obsolete. To get the textual representation of the current filter criteria, use the ColumnView.FilterPanelText property or call the ColumnView.GetFilterDisplayText method with the ColumnView.ActiveFilter object as a parameter.

To get the entire filter expression rather than the displayed text, use the ViewFilter.Expression property.

See Also