DataViewBase.ShowFilterEditor(ColumnBase) Method

Shows the Filter Editor.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public void ShowFilterEditor(
    ColumnBase defaultColumn
)
Public Sub ShowFilterEditor(
    defaultColumn As ColumnBase
)

Parameters

Name Type Description
defaultColumn ColumnBase

A ColumnBase descendant that is the column to which a filter is applied in the Filter Editor.

Remarks

If the View is not filtered, calling the ShowFilterEditor method displays the Filter Editor, containing a new filter condition against the specified column. If the defaultColumn parameter is set to null, the Filter Editor contains a new filter condition against the first column in the GridControl.Columns collection. If the View is filtered, the filter expression is not reset.

The DataViewBase.FilterEditorCreated event fires in response to creating the Filter Editor, allowing you to prevent the editor from being displayed, customize its settings, etc.

To learn more, see Filter Editor.

See Also