Skip to main content

FilterControl.BeforeShowValueEditor Event

Fires before the Filter Control displays editors for operands.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DXCategory("Events")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event ShowValueEditorEventHandler BeforeShowValueEditor

Event Data

The BeforeShowValueEditor event's data class is ShowValueEditorEventArgs. The following properties provide information specific to this event:

Property Description
CurrentNode Gets the current node in the FilterControl’s tree of criteria.
CustomRepositoryItem Allows you to specify a custom editor to be opened instead of the default one, specified by the Editor property.
Editor
FocusedElementIndex Gets the index of the current operand value.
OperandValue Gets the current operand value.
Operation Gets the operation of the current node.
PropertyName Gets the name of the current property (column/field). Inherited from BaseNodeEventArgs.
PropertyType Gets the type of the current property (column/field). Inherited from BaseNodeEventArgs.

Remarks

This event is obsolete. Use the FilterControl.CustomValueEditor, FilterControl.CustomValueEditorForEditing, and FilterControl.ValueEditorShown events to assign editors to the Filter Control’s operands, and customize settings of the editors.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeforeShowValueEditor event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also