Skip to main content
A newer version of this page is available. .

CriteriaOperatorValidator Class

Enables you to provide custom validation to the Expression Editor.

Namespace: DevExpress.DataAccess.ExpressionEditor

Assembly: DevExpress.DataAccess.v20.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.WindowsDesktop.DataAccess

Declaration

public class CriteriaOperatorValidator :
    ErrorsEvaluatorCriteriaValidator,
    ICriteriaWarningsValidator

Remarks

Use the CriteriaOperatorValidator.Visit method to provide custom expression validation logic.

Use the ErrorsEvaluatorCriteriaValidator.Validate method to validate custom expressions.

For a code sample, see the following example online: How to customize the Expression Editor.

Inheritance

Object
DevExpress.Data.BoundPropertyList
ErrorsEvaluatorCriteriaValidator
CriteriaOperatorValidator
See Also