Back to Devexpress

BaseFilterControlEventArgs.IFilterEditor Property

windowsforms-devexpress-dot-xtraeditors-dot-filtering-dot-basefiltercontroleventargs-750eec12.md

latest3.7 KB
Original Source

BaseFilterControlEventArgs.IFilterEditor Property

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

Namespace : DevExpress.XtraEditors.Filtering

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

DefaultFilterEditorView

DefaultFilterEditorView

DefaultFilterEditorView

FilterEditor

BaseFilterControlEventArgs Class

BaseFilterControlEventArgs Members

DevExpress.XtraEditors.Filtering Namespace