RoutedCommandで遊んでいますが、 Executedメソッドがe.Parameterにパラメーターを含めるようにパラメーターを渡す方法を見つけるのに問題があります。
私のRoutedCommand:
public static readonly RoutedCommand Foo = new RoutedCommand();
使用法:
menuItem.Command = Commands.Foo;
実行:
private void Foo_Executed(object sender, ExecutedRoutedEventArgs e)
{
object parameter = e.Parameter; // this is always null
}