Skip to main content
A newer version of this page is available. .

DataControlBase.ClearColumnFilter(String) Method

Removes the filter condition applied to the specified column.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public void ClearColumnFilter(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A String value that specifies the field name of the column whose filter is cleared.

Remarks

To clear the control’s filter, set the DataControlBase.FilterCriteria property to null or the DataControlBase.FilterString property to an empty string.

To learn more, see Regular and Checked Drop-down Filters.

See Also