ColumnFilterInfo(ColumnFilterType, Object, String, String, String) Constructor
OBSOLETE
Use the ColumnFilterInfo(ColumnFilterType type, object _value, string filterString) instead
Obsolete. Initializes a new instance of the ColumnFilterInfo class with the specified settings.
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(ColumnFilterType type, object _value, string filterString) instead")]
public ColumnFilterInfo(
ColumnFilterType type,
object _value,
string filterString,
string displayText,
string valueDisplayText
)
Parameters
Name | Type | Description |
---|---|---|
type | ColumnFilterType | A ColumnFilterType enumeration value specifying the filter type. This value is assigned to the ColumnFilterInfo.Type property. |
_value | Object | A Object representing the filter value. This parameter is in effect when the type parameter is set to ColumnFilterType.Value and the filter parameter is either an empty string or null (Nothing in Visual Basic). When in effect, the column is filtered by the specified value. This value is assigned to the ColumnFilterInfo.Value property. |
filterString | String | A string value specifying the filter criteria. This string should be composed in compliance with ANSI SQL standards. This value is assigned to the ColumnFilterInfo.FilterString property value. If this parameter has a value (it’s not null or an empty string) the val parameter is ignored. |
displayText | String | A string value specifying the text to be displayed within the filter panel. If set to an empty string, the text representation of the filter criteria is calculated automatically. This value is assigned to the ColumnFilterInfo.DisplayText property. |
valueDisplayText | String | A string representing the current filter condition in the filter dropdown list. This value is assigned to the ColumnFilterInfo.ValueDisplayText property. |
Remarks
Use this constructor to create a new ColumnFilterInfo object specifying custom filter criteria. Assign the object to the desired column’s GridColumn.FilterInfo property to apply filtering.