private static OnCommandChanged ( |
||
d | ||
e | System.Windows.DependencyPropertyChangedEventArgs | |
return | void |
private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { DropDownButton dropDownButton = d as DropDownButton; if (dropDownButton != null) { dropDownButton.OnCommandChanged(( ICommand )e.OldValue, ( ICommand )e.NewValue); } }