DataErrorsChangedEventArgs.PropertyName 属性

定义

获取有错误的属性的名称。Gets the name of the property that has an error.

public:
 virtual property System::String ^ PropertyName { System::String ^ get(); };
public virtual string PropertyName { get; }
public virtual string? PropertyName { get; }
member this.PropertyName : string
Public Overridable ReadOnly Property PropertyName As String

属性值

String

出现错误的属性的名称。The name of the property that has an error. null;如果错误为对象级别,则为 Emptynull or Empty if the error is object-level.

适用于