private static void OnSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { Waveform waveform = o as Waveform; if (waveform != null) { waveform.OnSourceChanged((ISource)e.OldValue, (ISource)e.NewValue); } }
private static void OnCenterLineBrushChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { Waveform waveform = o as Waveform; if (waveform != null) { waveform.OnCenterLineBrushChanged((Brush)e.OldValue, (Brush)e.NewValue); } }
private static void OnRightStrokeThicknessChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { Waveform waveform = o as Waveform; if (waveform != null) { waveform.OnRightStrokeThicknessChanged((double)e.OldValue, (double)e.NewValue); } }
private static void OnResolutionChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { Waveform waveform = o as Waveform; if (waveform != null) { waveform.OnResolutionChanged((int)e.OldValue, (int)e.NewValue); } }
private static object OnCoerceCenterLineBrush(DependencyObject o, object value) { Waveform waveform = o as Waveform; if (waveform != null) { return(waveform.OnCoerceCenterLineBrush((Brush)value)); } else { return(value); } }
private static object OnCoerceRightStrokeThickness(DependencyObject o, object value) { Waveform waveform = o as Waveform; if (waveform != null) { return(waveform.OnCoerceRightStrokeThickness((double)value)); } else { return(value); } }
private static object OnCoerceRightStroke(DependencyObject o, object value) { Waveform waveform = o as Waveform; if (waveform != null) { return(waveform.OnCoerceRightStroke((Brush)value)); } else { return(value); } }
private static object OnCoerceSource(DependencyObject o, object value) { Waveform waveform = o as Waveform; if (waveform != null) { return(waveform.OnCoerceSource((ISource)value)); } else { return(value); } }
private static object OnCoerceResolution(DependencyObject o, object value) { Waveform waveform = o as Waveform; if (waveform != null) { return(waveform.OnCoerceResolution((int)value)); } else { return(value); } }