I have the following code to subscribe to property changed event for VisiblePosition
property of Column
class:
DependencyPropertyDescriptor dpd = DependencyPropertyDescriptor.FromProperty(ColumnBase.VisiblePositionProperty, typeof(Column));
if (dpd != null)
{
dpd.AddValueChanged(col, ColumnVisiblePositionChangedHandler);
}
Here is the definition of the ColumnVisiblePositionChangedHandler
method:
static internal void ColumnVisiblePositionChangedHandler(object sender, EventArgs e)
问题是,我需要获得财产的旧价值。 我如何这样做?
感谢