Skip to main content
A newer version of this page is available. .

FilterItem(String, Object) Constructor

Creates a new FilterItem object.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public FilterItem(
    string text,
    object val
)

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