DataErrorsChangedEventArgs.PropertyName Property

.NET Framework (current version)
 

Gets the name of the property that has an error.

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

public virtual string PropertyName { get; }

Property Value

Type: System.String

The name of the property that has an error. null or Empty if the error is object-level.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
Show: