FilterEditorControl.BeforeShowValueEditor Event

Fires before displaying an editor used to edit operands in the FilterEditorControl.

Namespace: DevExpress.XtraFilterEditor

Assembly: DevExpress.XtraRichEdit.v20.1.dll

Declaration

public event ShowValueEditorEventHandler BeforeShowValueEditor
Public Event BeforeShowValueEditor As ShowValueEditorEventHandler

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 Gets the currently processed editor. Inherited from ValueEditorEventArgs.
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

To access the operand value currently being edited and customize the editor used to edit the value, use the parameters provided by the event.

For an example, see the FilterControl.BeforeShowValueEditor topic.

See Also