Skip to main content

FilterEditorControl.BeforeShowValueEditor Event

Fires before the editor used to edit operands is shown on screen. Allows you to customize this editor.

Namespace: DevExpress.DataAccess.UI

Assembly: DevExpress.DataAccess.v22.2.UI.dll

NuGet Package: DevExpress.DataAccess.UI

Declaration

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

See the FilterControl.BeforeShowValueEditor event for an example.

See Also