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.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
filter |
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 Column |
display |
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 Column |
#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.