private static void OnLabelPositionChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { ColumnLabelPosition newValue = (ColumnLabelPosition)e.NewValue; ColumnLabelPosition oldValue = (ColumnLabelPosition)e.OldValue; ((ColumnDataPoint)o).OnLabelPositionChanged(oldValue, newValue); }
protected virtual void OnLabelPositionChanged(ColumnLabelPosition oldValue, ColumnLabelPosition newValue) { this.OnValueChanged("LabelPosition", (object)oldValue, (object)newValue); }