private void SetSelection(Lionsguard.Icon icon) { norvic.Selected = najii.Selected = peren.Selected = xhin.Selected = false; icon.Selected = true; this.SetControlValues(); this.RaceSelected(this, EventArgs.Empty); }
private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Icon icon = d as Icon; icon.SetElementValues(); }
private static void OnSelectedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Icon icon = d as Icon; icon.GoToState(true); }