Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseFilterControlEventArgs.IFilterEditor Property

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

Namespace: DevExpress.XtraEditors.Filtering

Assembly: DevExpress.XtraEditors.v24.2.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