DataViewBase.ShowFilterEditor(ColumnBase) Method

Shows the Filter Editor.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.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

The ShowFilterEditor method invokes the Filter Editor and does not reset the filter expression.

The DataViewBase.FilterEditorCreated event is raised when you create the Filter Editor. This event allows you to prevent the editor from being displayed, customize its settings, etc.

Legacy Filter Editor

  • If the View is not filtered, the Legacy Filter Editor creates a new empty filter condition with the specified column.

  • If the View is filtered, the filter expression is not reset.

For more information, see Filter Editor.

See Also