Skip to main content

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.v23.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