// -----------------------------------------------------------------------
//
// Copyright 2013 MIT Licence. See licence.md for more information.
//
// -----------------------------------------------------------------------
namespace Perspex
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
///
/// Provides information for a perspex property change.
///
public class PerspexPropertyChangedEventArgs
{
public PerspexPropertyChangedEventArgs(
PerspexProperty property,
object oldValue,
object newValue)
{
this.Property = property;
this.OldValue = oldValue;
this.NewValue = newValue;
}
///
/// 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; }
}
}