private static void OnCardVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ucICardIcon ctrl = d as ucICardIcon;

            ctrl.CardVisibility = (DominionBase.Piles.Visibility)e.NewValue;
        }
        private static void OnICardChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ucICardIcon ctrl = d as ucICardIcon;

            ctrl.ICard = (DominionBase.ICard)e.NewValue;
        }