Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }