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+

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.v19.2.dll

Declaration

public virtual string ErrorMessage { get; set; }
Public Overridable Property ErrorMessage As String
public virtual string ErrorMessage { get; set; }
Public Overridable Property ErrorMessage As String
public virtual string ErrorMessage { get; set; }
Public Overridable Property ErrorMessage As String

Property Value

Type Description
String

A string value representing the text shown in the Property Editor's tooltip when a validation rule is broken.

Property Value

Type Description
String

A string value representing the text shown in the Property Editor's tooltip when a validation rule is broken.

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