//------------------------------------------------------------------------------ // // 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 !SILVERLIGHT [HostProtection(SharedState = true)] #endif public class PropertyChangedEventArgs : EventArgs { private readonly string propertyName; /// /// Initializes a new instance of the /// class. /// public PropertyChangedEventArgs(string propertyName) { this.propertyName = propertyName; } /// /// Indicates the name of the property that changed. /// public virtual string PropertyName { get { return propertyName; } } } }