public static void SetCommand(DependencyObject d, ICommand value) { d.SetValue(CommandProperty, value); }