Skip to main content

DataControlBase.GetColumnFilterString(String) Method

Returns a filter expression 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 string GetColumnFilterString(
    string fieldName
)

Parameters

Name Type Description
fieldName String

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

Returns

Type Description
String

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

Remarks

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.

See Also