Skip to main content

PivotGridControl.ValidateEditor() Method

Validates the active editor.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid


public bool ValidateEditor()


Type Description

true if the active editor’s value is valid; otherwise, false.


Use the ValidateEditor method, to force active editor validation.

First, the ValidateEditor method performs automatic editor validation. It calls the active editor’s BaseEdit.DoValidate method, which determines whether the value entered can be accepted by the editor. Then, the ValidateEditor method raises the PivotGridControl.ValidatingEditor event, which enables you to perform manual validation.

If the editor validation fails, the PivotGridControl.ValidatingEditor event is raised. Handle this event to specify how the PivotGrid control should respond to entering an incorrect value.

See Also