public static void OnTooltipDisplayChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RangeSlider rs = (RangeSlider)d;

            rs.LowerSlider.AutoToolTipPlacement = (AutoToolTipPlacement)e.NewValue;
            rs.UpperSlider.AutoToolTipPlacement = (AutoToolTipPlacement)e.NewValue;
        }
        public static void OnMaximumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RangeSlider rangeSlider = (RangeSlider)d;

            rangeSlider.LowerSlider.Maximum = (double)e.NewValue;
            rangeSlider.UpperSlider.Maximum = (double)e.NewValue;
        }
        public static void OnDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RangeSlider rangeSlider = (RangeSlider)d;

            rangeSlider.LowerSlider.Date = (DateTime)e.NewValue;
            rangeSlider.UpperSlider.Date = (DateTime)e.NewValue;
        }