Esempio n. 1
0
        private static void OnTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            NumericSlider <T> numericSlider = o as NumericSlider <T>;

            if (numericSlider != null)
            {
            }
        }
Esempio n. 2
0
        private static void OnCultureInfoChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            NumericSlider <T> numericSlider = o as NumericSlider <T>;

            if (numericSlider != null)
            {
                numericSlider.OnCultureInfoChanged((CultureInfo)e.OldValue, (CultureInfo)e.NewValue);
            }
        }
Esempio n. 3
0
        private static void OnMinimumChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            NumericSlider <T> upDown = o as NumericSlider <T>;

            if (upDown != null)
            {
                upDown.OnMinimumChanged((T)e.OldValue, (T)e.NewValue);
            }
        }
Esempio n. 4
0
        private static void OnIncrementChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            NumericSlider <T> numericUpDown = o as NumericSlider <T>;

            if (numericUpDown != null)
            {
                numericUpDown.OnIncrementChanged((T)e.OldValue, (T)e.NewValue);
            }
        }
Esempio n. 5
0
        private static void OnFormatStringChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            NumericSlider <T> numericSlider = o as NumericSlider <T>;

            if (numericSlider != null)
            {
                numericSlider.OnFormatStringChanged((string)e.OldValue, (string)e.NewValue);
            }
        }
Esempio n. 6
0
        private static object OnCoerceMinimum(DependencyObject d, object baseValue)
        {
            NumericSlider <T> upDown = d as NumericSlider <T>;

            if (upDown != null)
            {
                return(upDown.OnCoerceMinimum((T)baseValue));
            }

            return(baseValue);
        }
Esempio n. 7
0
        private static object OnCoerceIncrement(DependencyObject d, object baseValue)
        {
            NumericSlider <T> numericUpDown = d as NumericSlider <T>;

            if (numericUpDown != null)
            {
                return(numericUpDown.OnCoerceIncrement((T)baseValue));
            }

            return(baseValue);
        }