A newer version of this page is available. Switch to the current version.

ASPxGridBeforeHeaderFilterFillItemsEventArgs.AddValue(String, CriteriaOperator) Method

Adds a new filter item with the specified filter criteria operator to the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public void AddValue(
    string displayText,
    CriteriaOperator criteria
Public Sub AddValue(
    displayText As String,
    criteria As CriteriaOperator


Name Type Description
displayText String

A String value that specifies the filter item's display text.

criteria CriteriaOperator

A CriteriaOperator value that specifies the filter criteria operator.


Note that the grid header filter allows the use of HTML tags in the displayText parameter.

See Also