Sanguosha.UI.Controls.GuHuoSkillButton.DropDownChanged C# (CSharp) Méthode

DropDownChanged() public static méthode

public static DropDownChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void
        public static void DropDownChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            GuHuoSkillButton button = d as GuHuoSkillButton;
            if (button != null)
            {
                button.popupChoices.IsOpen = ((bool)e.NewValue);
            }
        }