Skip to main content

GridView.SetAutoFilterValue(GridColumn, Object, AutoFilterCondition) Method

Applies a filtering expression for the grid automatic filtering row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public virtual void SetAutoFilterValue(
    GridColumn column,
    object value,
    AutoFilterCondition condition
)

Parameters

Name Type Description
column GridColumn

A GridColumn whose records are filtered.

value Object

An Object that is the filtering value.

condition AutoFilterCondition

An AutoFilterCondition enumeration that specifies the filter expression clause.

Remarks

Example

gridView1.SetAutoFilterValue(colCity, "Ber", DevExpress.XtraGrid.Columns.AutoFilterCondition.BeginsWith);
See Also