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.

Namespace: System.ComponentModel
Assembly: System.Windows (in System.Windows.dll)


ReadOnly Property Item ( _
    columnName As String _
) As String
string this[
    string columnName
] { get; }


  • columnName
    Type: System..::.String
    The name of the property or column to retrieve validation errors for.

Property Value

Type: System..::.String
The validation error on the specified property; or nullNothingnullptra null reference (Nothing in Visual Basic) 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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


IDataErrorInfo Interface

System.ComponentModel Namespace


Other Resources

Data binding for Windows Phone 8