GridView.SetAutoFilterValue(GridColumn, Object, AutoFilterCondition) Method

Applies a filtering expression for the grid automatic filtering row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public virtual void SetAutoFilterValue(
    GridColumn column,
    object value,
    AutoFilterCondition condition
)
Public Overridable Sub SetAutoFilterValue(
    column As GridColumn,
    value As Object,
    condition As AutoFilterCondition
)

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