DataErrorsChangedEventArgs.PropertyName Property

.NET Framework 4.6 and 4.5

Gets the name of the property that has an error.

Namespace:  System.ComponentModel
Assemblies:   System (in System.dll)
  System.ObjectModel (in System.ObjectModel.dll)

Public Overridable ReadOnly Property PropertyName As String

Property Value

Type: System.String
The name of the property that has an error. Nothing or Empty if the error is object-level.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft