PropertyModifyingEventArgs
using System.ComponentModel;
namespace Castle.Components.DictionaryAdapter
{
public class PropertyModifyingEventArgs : PropertyChangingEventArgs
{
public object OldPropertyValue { get; set; }
public object NewPropertyValue { get; set; }
public bool Cancel { get; set; }
public PropertyModifyingEventArgs(string propertyName, object oldPropertyValue, object newPropertyValue)
: base(propertyName)
{
OldPropertyValue = oldPropertyValue;
NewPropertyValue = newPropertyValue;
}
}
}