private static void OnRangeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PaletteControl control = (PaletteControl)d;

            control.OnRangeChanged();
        }