// ----------------------------------------------------------------------- // // Copyright 2014 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex { /// /// Provides information for a perspex property change. /// public class PerspexPropertyChangedEventArgs { public PerspexPropertyChangedEventArgs( PerspexObject sender, PerspexProperty property, object oldValue, object newValue) { this.Sender = sender; this.Property = property; this.OldValue = oldValue; this.NewValue = newValue; } /// /// Gets the that the property changed on. /// /// public PerspexObject Sender { get; private set; } /// /// Gets the property that changed. /// public PerspexProperty Property { get; private set; } /// /// Gets the old value of the property. /// public object OldValue { get; private set; } /// /// Gets the new value of the property. /// public object NewValue { get; private set; } } }