The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IRuleBaseProperties.ResultType Property

Specifies the application behavior when the rule is broken.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[Required]
[DefaultValue(typeof(ValidationResultType), "Error")]
ValidationResultType ResultType { get; set; }
<Required>
<DefaultValue(GetType(ValidationResultType), "Error")>
Property ResultType As ValidationResultType
[Required]
[DefaultValue(typeof(ValidationResultType), "Error")]
ValidationResultType ResultType { get; set; }
<Required>
<DefaultValue(GetType(ValidationResultType), "Error")>
Property ResultType As ValidationResultType
[Required]
[DefaultValue(typeof(ValidationResultType), "Error")]
ValidationResultType ResultType { get; set; }
<Required>
<DefaultValue(GetType(ValidationResultType), "Error")>
Property ResultType As ValidationResultType

Property Value

Type Default Description
ValidationResultType

"Error"

A ValidationResultType enumeration value that specifies the application behavior when the rule is broken.

Property Value

Type Default Description
ValidationResultType

"Error"

A ValidationResultType enumeration value that specifies the application behavior when the rule is broken.

Property Value

Type Default Description
ValidationResultType

"Error"

A ValidationResultType enumeration value that specifies the application behavior when the rule is broken.

Remarks

The default value is Error, i.e., a user must make data valid in order to proceed. However, you can define validation rules that can be ignored by end users by setting ResultType to Warning or Info.

See Also