Skip to main content
A newer version of this page is available. .

DefaultContexts Enum

Contains values representing the default Validation Contexts.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[Flags]
public enum DefaultContexts

Members

Name Description
Save

Specifies that the Validation Rule will be checked each time the required object (or its properties) is saved to a database.

Delete

Specifies that the Validation Rule will be checked when deleting the required object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DefaultContexts enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also