Skip to main content
.NET 8.0+

RuleBaseProperties.ResultType Property

Specifies the application behavior when the rule is broken.

Namespace: DevExpress.Persistent.Validation

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

Declaration

[RulePropertiesIndex(15)]
public ValidationResultType ResultType { get; set; }

Property Value

Type Description
ValidationResultType

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.

Implements

See Also