Skip to main content

DataControlBase.GetColumnFilterCriteria(ColumnBase) Method

Returns a filter applied to the specified column.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

#Declaration

public CriteriaOperator GetColumnFilterCriteria(
    ColumnBase column
)

#Parameters

Name Type Description
column ColumnBase

A ColumnBase descendant that represents the grid column.

#Returns

Type Description
CriteriaOperator

A CriteriaOperator object that represents filter criteria applied to the specified column. null, if data isn’t filtered by the values of the specified column.

#Remarks

To specify the grid’s filter, 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.

See Also