RuleSet.CustomValidateRule Event

Occurs when a rule is being validated.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v18.1.dll

Syntax

public static event EventHandler<CustomValidateRuleEventArgs> CustomValidateRule

The event handler receives an argument of the CustomValidateRuleEventArgs type. The CustomValidateRuleEventArgs properties provide information specific to this event.

Handle this event to customize a rule before it is validated or perform a validation manually.