private static void IsImageVisiblePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            hBtnWImageText ido = d as hBtnWImageText;

            if (ido != null)
            {
                ido.IsImageVisible = (bool)e.NewValue;
            }
        }
        private static void CustomForeGroundPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            hBtnWImageText ido = d as hBtnWImageText;

            if (ido != null)
            {
                ido.CustomForeGround = e.NewValue as SolidColorBrush;
            }
        }
        private static void CustomContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            hBtnWImageText ido = d as hBtnWImageText;

            if (ido != null)
            {
                ido.CustomContent = (string)e.NewValue;
            }
        }
        private static void ButtonImagePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            hBtnWImageText ido = d as hBtnWImageText;

            if (ido != null)
            {
                ido.ButtonImage = (ImageSource)e.NewValue;
            }
        }