FilterItem(String, Object) Constructor
Creates a new FilterItem object.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
text | String | A String value that is the textual representation of the created filter item. This value is assigned to the FilterItem.Text property. |
val | Object | An object representing the filter value. This value is assigned to the FilterItem.Value property. |
Remarks
Use the constructor when handling the ColumnView.ShowFilterPopupListBox event. This event enables you to populate a column’s filter dropdown with custom items.
See Also