OnValueChanged() protected method

protected OnValueChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
return void
示例#1
0
        private static void OnValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PropertyItem propertyItem = o as PropertyItem;

            if (propertyItem != null)
            {
                propertyItem.OnValueChanged(( object )e.OldValue, ( object )e.NewValue);
            }
        }