PropertyEditor.ErrorMessage Property
Specifies the message about validation rules broken because of the current Property Editor’s bound property.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
String | A string value representing the text shown in the Property Editor’s tooltip when a validation rule is broken. |
Remarks
Validation rules can be applied to a business class. When these rules are broken, the ErrorMessage property of the Property Editors that are bound to the failed properties is set to the value of the RuleMessageTemplate specified for these rules. The Property Editor whose ErrorMessage property value is not empty is highlighted by an Error image, and the tooltip shows the property’s value.
Generally, you do not need to use this property. Although, you may use it as a custom feature for the Validation System, or other system. Note that the custom feature should not impede the Validation feature.