DataControlBase.GetColumnFilterString(ColumnBase) Method

Returns a filter expression applied to the specified column.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll


public string GetColumnFilterString(
    ColumnBase column
Public Function GetColumnFilterString(
    column As ColumnBase
) As String


Name Type Description
column ColumnBase

A ColumnBase descendant that represents the column.


Type Description

A String value that specifies the specified column's filter expression.


To specify the grid's overall filter expression, use the DataControlBase.FilterCriteria or DataControlBase.FilterString property. To apply a filter to a column(s) preserving the grid's filter (if applied), use the DataControlBase.MergeColumnFilters method.

The DataControlBase.ClearColumnFilter method clears the required column's filter.

To learn more, see Filtering in Code and Filtering.

See Also