コード例 #1
0
        private static void OnSoundLevelBrushChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                waveformTimeline.OnSoundLevelBrushChanged((Brush)e.OldValue, (Brush)e.NewValue);
            }
        }
コード例 #2
0
        private static void OnAutoScaleWaveformCacheChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                waveformTimeline.OnAutoScaneWaveformCacheChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }
コード例 #3
0
        private static void OnCenterLineThicknessChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                waveformTimeline.OnCenterLineThicknessChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
コード例 #4
0
        private static object OnCoerceSoundLevelBrush(DependencyObject o, object value)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                return(waveformTimeline.OnCoerceSoundLevelBrush((Brush)value));
            }
            else
            {
                return(value);
            }
        }
コード例 #5
0
        private static object OnCoerceAutoScaleWaveformCache(DependencyObject o, object value)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                return(waveformTimeline.OnCoerceAutoScaleWaveformCache((bool)value));
            }
            else
            {
                return(value);
            }
        }
コード例 #6
0
        private static object OnCoerceCenterLineThickness(DependencyObject o, object value)
        {
            WaveformTimeline waveformTimeline = o as WaveformTimeline;

            if (waveformTimeline != null)
            {
                return(waveformTimeline.OnCoerceCenterLineThickness((double)value));
            }
            else
            {
                return(value);
            }
        }