Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IModelValidationContext.AllowInplaceValidation Property

Specifies whether or not in-place validation is allowed for the current context.

Namespace: DevExpress.ExpressApp.Validation

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


bool AllowInplaceValidation { get; set; }

Property Value

Type Default Description


true, if the current context uses in-place validation; otherwise, false.


In-place validation occurs immediately for the current context after the input focus changes. It is enabled for the Save context by default.

The following error message is displayed when the input focus changes.

InplaceValidation InplaceValidation_Win

The in-place validation occurs only if the rule evaluation does not require querying additional data from the server. Thus, only the following rules can be validated immediately.

As the rule evaluation occurs on the client side, the in-place validation does not occur when:

When in-place validation is enabled, the regular validation mechanism is still triggered when an Action associated with the current context is executed.


The asterisk (*) symbol is appended to an editor label when the RuleRequiredField is applied.


The in-place validation engine relies on Controllers provided in the platform-specific ValidationWindowsFormsModule and ValidationAspNetModule. So, ensure that these modules are added from the Toolbox in the Application Designer.

See Also