// // // // // $Revision: 915 $ // using System; namespace ICSharpCode.Core { public delegate void PropertyChangedEventHandler(object sender, PropertyChangedEventArgs e); public class PropertyChangedEventArgs : EventArgs { Properties properties; string key; object newValue; object oldValue; /// /// returns the changed property object /// public Properties Properties { get { return properties; } } /// /// The key of the changed property /// public string Key { get { return key; } } /// /// The new value of the property /// public object NewValue { get { return newValue; } } /// /// The new value of the property /// public object OldValue { get { return oldValue; } } public PropertyChangedEventArgs(Properties properties, string key, object oldValue, object newValue) { this.properties = properties; this.key = key; this.oldValue = oldValue; this.newValue = newValue; } } }