Back to Devexpress

ContextValidatingEventArgs Class

expressappframework-devexpress-dot-expressapp-dot-validation-9f0d0612.md

latest1.9 KB
Original Source

ContextValidatingEventArgs Class

Arguments passed to the PersistenceValidationController.ContextValidating event.

Namespace : DevExpress.ExpressApp.Validation

Assembly : DevExpress.ExpressApp.Validation.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Validation

Declaration

csharp
public class ContextValidatingEventArgs :
    EventArgs
vb
Public Class ContextValidatingEventArgs
    Inherits EventArgs

ContextValidatingEventArgs is the data class for the following events:

Remarks

The ContextValidating event occurs when validation rules associated with the Delete or Save validation contexts are about to be checked. Handle this event to force validation of specific objects, which otherwise would not be validated automatically in a particular situation.

Inheritance

Object EventArgs ContextValidatingEventArgs DeleteContextValidatingEventArgs

See Also

ContextValidatingEventArgs Members

DevExpress.ExpressApp.Validation Namespace