FilterItem(String, Object) Constructor

Creates a new FilterItem object.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public FilterItem(
    string text,
    object val
)
Public Sub New(
    text As String,
    val As Object
)

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