private static void BadgeTypeChangeCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BadgeAdorner adorner = BadgeAdorner.GetAdorner(d);

            if (adorner == null)
            {
                return;
            }

            if ((BadgeType)e.NewValue == BadgeType.Dot)
            {
                adorner.SowDot();
            }
            else
            {
                adorner.ShowNormal();
            }
        }
        private static void IsShowChangedCallBack(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BadgeAdorner adorner = BadgeAdorner.GetAdorner(d);

            if (adorner == null)
            {
                return;
            }

            if ((bool)e.NewValue)
            {
                adorner.ShowAdorner();
            }
            else
            {
                adorner.HideAdorner();
            }
        }