| File: System\ComponentModel\DataErrorsChangedEventArgs.cs | Web Access |
| Project: src\runtime\src\libraries\System.ObjectModel\src\System.ObjectModel.csproj (System.ObjectModel) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.ComponentModel { /// <summary> /// Provides data for the <see langword='ErrorsChanged'/> event. /// </summary> public class DataErrorsChangedEventArgs : EventArgs { /// <summary> /// Initializes a new instance of the <see cref='System.ComponentModel.DataErrorsChangedEventArgs'/> /// class. /// </summary> public DataErrorsChangedEventArgs(string? propertyName) { PropertyName = propertyName; } /// <summary> /// Indicates the name of the property whose errors changed. /// </summary> public virtual string? PropertyName { get; } } }