private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ((BehaviorBinding) d).OnCommandChanged(e); }