private static void OnSoundLevelBrushChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { waveformTimeline.OnSoundLevelBrushChanged((Brush)e.OldValue, (Brush)e.NewValue); } }
private static void OnAutoScaleWaveformCacheChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { waveformTimeline.OnAutoScaneWaveformCacheChanged((bool)e.OldValue, (bool)e.NewValue); } }
private static void OnCenterLineThicknessChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { waveformTimeline.OnCenterLineThicknessChanged((double)e.OldValue, (double)e.NewValue); } }
private static object OnCoerceSoundLevelBrush(DependencyObject o, object value) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { return(waveformTimeline.OnCoerceSoundLevelBrush((Brush)value)); } else { return(value); } }
private static object OnCoerceAutoScaleWaveformCache(DependencyObject o, object value) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { return(waveformTimeline.OnCoerceAutoScaleWaveformCache((bool)value)); } else { return(value); } }
private static object OnCoerceCenterLineThickness(DependencyObject o, object value) { WaveformTimeline waveformTimeline = o as WaveformTimeline; if (waveformTimeline != null) { return(waveformTimeline.OnCoerceCenterLineThickness((double)value)); } else { return(value); } }