1 //------------------------------------------------------------------------------
2 // <copyright file="DataErrorsChangedEventArgs.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
7 namespace System.ComponentModel {
10 using System.Diagnostics;
11 using System.Security.Permissions;
14 /// <para>Provides data for the <see langword='ErrorsChanged'/>
18 [HostProtection(SharedState = true)]
20 public class DataErrorsChangedEventArgs : EventArgs {
21 private readonly string propertyName;
24 /// <para>Initializes a new instance of the <see cref='System.ComponentModel.DataErrorsChangedEventArgs'/>
27 public DataErrorsChangedEventArgs(string propertyName) {
28 this.propertyName = propertyName;
32 /// <para>Indicates the name of the property whose errors changed.</para>
34 public virtual string PropertyName {