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

ColumnFilterInfo(Object, String) Constructor

OBSOLETE

Use the ColumnFilterInfo(GridColumn column, object _value, string displayText) instead

Obsolete. Creates a new ColumnFilterInfo class instance with the specified filter value and filter text representation.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the ColumnFilterInfo(GridColumn column, object _value, string displayText) instead")]
public ColumnFilterInfo(
    object _value,
    string displayText
)

#Parameters

Name Type Description
_value Object

A Object representing the filter value. The specified value is compared to column values. Records whose values within the column do not match this parameter are not displayed when filtering is applied. This parameter value is assigned to the ColumnFilterInfo.Value property.

displayText String

A string value specifying the text representation of the filter criteria. This text is displayed within the View’s filter panel. If the parameter is set to an empty string, the filter condition’s text representation is constructed automatically. This parameter value is assigned to the ColumnFilterInfo.DisplayText property.

#Remarks

Use this constructor to create a new ColumnFilterInfo object specifying the filter value and the filter text representation. Assign the object created to the desired column’s GridColumn.FilterInfo property to filter the column based on the settings specified.

See Also