private static object OnThumbHeightProperty(DependencyObject sender, object data)
        {
            RangeSlider rangeSlider = (RangeSlider)sender;
            double      current     = (double)data;

            if (current < 0)
            {
                current = 0;
            }
            return(current);
        }
        private static object OnCoerceMaximumProperty(DependencyObject sender, object data)
        {
            RangeSlider rangeSlider = (RangeSlider)sender;
            double      current     = (double)data;

            if (current < rangeSlider.Minimum)
            {
                current = rangeSlider.Minimum;
            }
            return(current);
        }