Skip to main content
All docs
V26.1
  • BaseFilterControlEventArgs.IFilterEditor Property

    Provides access to the currently used Filter Control (FilterControl or FilterEditorControl) via an interface.

    Namespace: DevExpress.XtraEditors.Filtering

    Assembly: DevExpress.XtraEditors.v26.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public IFilterControl IFilterEditor { get; }

    Property Value

    Type Description
    DevExpress.XtraEditors.IFilterControl

    The Filter Control (as an IFilterControl object).

    Remarks

    DevExpress controls can use the FilterControl or FilterEditorControl, depending on the control’s DefaultFilterEditorView setting. Both of the Filter Controls implement the IFilterControl interface. You can use the current BaseFilterControlEventArgs.IFilterEditor property to obtain the currently used Filter Control.

    The following table covers the values retrieved by the IFilterEditor and BaseFilterControlEventArgs.FilterEditor properties, depending on the DefaultFilterEditorView setting.

    DefaultFilterEditorView value(s)

    Filter Control being used

    IFilterEditor property value

    FilterEditor property value

    Visual

    FilterControl

    image

    FilterControl (typecast to the IFilterControl interface).

    FilterControl

    VisualAndText, TextAndVisual or Text

    FilterEditorControl image

    The Visual panel in the FilterEditorControl is encapsulated by a FilterControl class object.

    FilterEditorControl (typecast to the IFilterControl interface).

    FilterControl embedded in the FilterEditorControl in the Visual panel.

    See Also