/// <summary> /// Updates scale values when depedent property changed.. /// </summary> /// <param name="d">The <see cref="System.Windows.DependencyObject"/> instance.</param> /// <param name="e">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param> private static void valueFormatChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { RoundScalePart roundScale = (RoundScalePart)d; roundScale.updateValues(); }
/// <summary> /// Updates scale when depedent property changed. /// </summary> /// <param name="d">The <see cref="System.Windows.DependencyObject"/> instance.</param> /// <param name="e">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param> private static void scaleChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { RoundScalePart roundScale = (RoundScalePart)d; roundScale.updateScale(); }