Skip to main content

ColumnFilterInfo(String, String) Constructor

Creates a new ColumnFilterInfo class instance with the specified filter condition and its text representation.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public ColumnFilterInfo(
    string filterString,
    string displayText
)

Parameters

Name Type Description
filterString String

A string value specifying the filter criteria. This string should be composed in compliance with SQL syntax requirements. This parameter value is assigned to the ColumnFilterInfo.FilterString 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 a custom filter condition and its text representation. Assign the object created to the desired column’s GridColumn.FilterInfo property to filter the column using the condition specified.

See Also