The requested page is not available for the requested platform. You are viewing the content for Default platform.

RuleSet.ValidationCompleted Event

Occurs after validation of an entire RuleSet is complete.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public event EventHandler<ValidationCompletedEventArgs> ValidationCompleted
Public Event ValidationCompleted As EventHandler(Of ValidationCompletedEventArgs)

Event Data

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

Property Description
Exception Specifies a validation exception that will be raised if the validation is unsuccessful.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.
(Inherited from HandledEventArgs)
ObjectSpace Returns an IObjectSpace used by the RuleSet.
Result Returns the result of the entire RuleSet validation.
Successful Indicates if the validation was successful.

Remarks

Handle this event to change or remove the ValidationCompletedEventArgs.Exception.

If the validation was performed by the RuleSet.ValidateTarget or RuleSet.ValidateAllTargets, the ValidationCompleted event is not raised. This peculiarity is especially useful when you need to perform a quick validation and get the result without utilizing the global RuleSet.ValidationCompleted event handler.

See Also