Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public virtual string ErrorMessage { get; set; }

#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.

See Also