BaseFilterControlEventArgs.IFilterEditor Property

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

Namespace: DevExpress.XtraEditors.Filtering

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public IFilterControl IFilterEditor { get; }
Public ReadOnly Property IFilterEditor As IFilterControl

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

FilterControl (typecast to the IFilterControl interface).

FilterControl

VisualAndText, TextAndVisual or Text

FilterEditorControl

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