public static ICommand GetCommand(DependencyObject d) { return (ICommand) d.GetValue(CommandProperty); }