.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleSet.CustomValidateRule Event

Occurs when a rule is being validated.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v19.2.dll


public static event EventHandler<CustomValidateRuleEventArgs> CustomValidateRule
Public Shared Event CustomValidateRule As EventHandler(Of CustomValidateRuleEventArgs)

Event Data

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

Property Description
ObjectSpace An Object Space of a validation target.
Rule A rule to be checked on a CustomValidateRuleEventArgs.Target.
RuleValidationResult The result of checking the CustomValidateRuleEventArgs.Rule on the CustomValidateRuleEventArgs.Target.
Target An object on which to check the CustomValidateRuleEventArgs.Rule.


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

See Also