private static void OnValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { CustomPropertyItem propertyItem = o as CustomPropertyItem; if (propertyItem != null) { propertyItem.OnValueChanged((object)e.OldValue, (object)e.NewValue); } }
private static object OnCoerceValueChanged(DependencyObject o, object baseValue) { CustomPropertyItem prop = o as CustomPropertyItem; if (prop != null) { return(prop.OnCoerceValueChanged(baseValue)); } return(baseValue); }