Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }