The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.GetColumnFilterCriteria(String) Method

Returns a filter applied to the specified column.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

public CriteriaOperator GetColumnFilterCriteria(
    string fieldName
)
Public Function GetColumnFilterCriteria(
    fieldName As String
) As CriteriaOperator

Parameters

Name Type Description
fieldName String

A String value that specifies the column's field name.

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