private static void ButtonHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CustomColorPicker p = d as CustomColorPicker;

            p.b.Height          = (int)e.NewValue;
            p.recContent.Height = p.b.Height - 15;
        }
        private static void ButtonStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CustomColorPicker p = d as CustomColorPicker;

            p.b.Style = (Style)e.NewValue;
        }
        private static void SelectedColorChangedDP(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CustomColorPicker p = d as CustomColorPicker;

            p.recContent.Fill = new SolidColorBrush((Color)e.NewValue);
        }