RuleSet.CustomValidateRule Event
In This Article
Occurs when a rule is being validated.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public static event EventHandler<CustomValidateRuleEventArgs> CustomValidateRule
#Event Data
The CustomValidateRule event's data class is CustomValidateRuleEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Object |
An Object Space of a validation target. |
Rule |
A rule to be checked on a Custom |
Rule |
The result of checking the Custom |
Target |
An object on which to check the Custom |
#Remarks
Handle this event to customize a rule before it is validated or perform a validation manually.
See Also