//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.ComponentModel {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the
/// event.
///
#if !FEATURE_NETCORE
[HostProtection(SharedState = true)]
#endif
public class DataErrorsChangedEventArgs : EventArgs {
private readonly string propertyName;
///
/// Initializes a new instance of the
/// class.
///
public DataErrorsChangedEventArgs(string propertyName) {
this.propertyName = propertyName;
}
///
/// Indicates the name of the property whose errors changed.
///
public virtual string PropertyName {
get {
return propertyName;
}
}
}
}