IDataErrorInfo.Item Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a message that describes any validation errors for the specified property or column name.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- columnName
- Type: System.String
The name of the property or column to retrieve validation errors for.
Property Value
Type: System.StringThe validation error on the specified property; or null or Empty, if no errors are present.
Use the Item property to get a single validation error message for a specified property or column. This message can represent multiple errors. If you want to represent multiple errors by using multiple custom error objects, implement the INotifyDataErrorInfo interface instead.
For an example of an implementation of this property, see the IDataErrorInfo class overview.