//------------------------------------------------------------------------------ // // 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 PropertyChangingEventArgs : EventArgs { private readonly string propertyName; /// /// Initializes a new instance of the /// class. /// public PropertyChangingEventArgs(string propertyName) { this.propertyName = propertyName; } /// /// Indicates the name of the property that is changing. /// public virtual string PropertyName { get { return propertyName; } } } }