Try our conversational search powered by Generative AI!

Interface IPropertyValidationSettings

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Interface identifying a property setting as a validation setting.

Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IPropertyValidationSettings : IPropertySettings

Properties

ErrorMessage

Gets or sets the default error message to use for any validation error.

Declaration
string ErrorMessage { get; set; }
Property Value
Type Description
System.String

Severity

Indicates the severity that an validation error based on these settings should have.

Declaration
ValidationErrorSeverity Severity { get; set; }
Property Value
Type Description
ValidationErrorSeverity

Extension Methods