Skip to main content

IDataErrorInfoHelper.GetErrorText(Object, String) Method

Returns the error text for the specified property.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.dll

Declaration

public static string GetErrorText(
    object owner,
    string propertyName
)

Parameters

Name Type Description
owner Object

A System.Object object, which is the owner of the specified property.

propertyName String

A System.String value that specifies the name of the property.

Returns

Type Description
String

A System.String value that describes the error of the specified property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetErrorText(Object, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also