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
Declaration
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 (typecast to the IFilterControl interface). | |
VisualAndText, TextAndVisual or Text |
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. |