Example #1
0
        private static void OnSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                waveform.OnSourceChanged((ISource)e.OldValue, (ISource)e.NewValue);
            }
        }
Example #2
0
        private static void OnCenterLineBrushChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                waveform.OnCenterLineBrushChanged((Brush)e.OldValue, (Brush)e.NewValue);
            }
        }
Example #3
0
        private static void OnRightStrokeThicknessChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                waveform.OnRightStrokeThicknessChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
Example #4
0
        private static void OnResolutionChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                waveform.OnResolutionChanged((int)e.OldValue, (int)e.NewValue);
            }
        }
Example #5
0
        private static object OnCoerceCenterLineBrush(DependencyObject o, object value)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                return(waveform.OnCoerceCenterLineBrush((Brush)value));
            }
            else
            {
                return(value);
            }
        }
Example #6
0
        private static object OnCoerceRightStrokeThickness(DependencyObject o, object value)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                return(waveform.OnCoerceRightStrokeThickness((double)value));
            }
            else
            {
                return(value);
            }
        }
Example #7
0
        private static object OnCoerceRightStroke(DependencyObject o, object value)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                return(waveform.OnCoerceRightStroke((Brush)value));
            }
            else
            {
                return(value);
            }
        }
Example #8
0
        private static object OnCoerceSource(DependencyObject o, object value)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                return(waveform.OnCoerceSource((ISource)value));
            }
            else
            {
                return(value);
            }
        }
Example #9
0
        private static object OnCoerceResolution(DependencyObject o, object value)
        {
            Waveform waveform = o as Waveform;

            if (waveform != null)
            {
                return(waveform.OnCoerceResolution((int)value));
            }
            else
            {
                return(value);
            }
        }