title: How to correctly bind menu items?
body: <p>How do i correctly bind a dynamical created list of menu items.  I have tried several thing but none seem to work.  I get the proper list of names, however my ViewSwitchCommand does not seem to fire correctly.</p>
  
  <pre><code>&lt;MenuItem Foreground="White" Header="Names" ItemsSource="{Binding Player.ToonNames}" Command="{Binding ViewSwitchCommand}" CommandParameter="{Binding Header}"/&gt;
  </code></pre>
  
  <p>However if i don't do it dynamically and do it like this then everything works just fine can get it to work</p>
  
  <pre><code>&lt;MenuItem Foreground="White" Header="Names"&gt;
  &lt;MenuItem Foreground="Black" Header="Chat" Command="{Binding ViewSwitchCommand}"     CommandParameter="player1" /&gt;
  &lt;MenuItem Foreground="Black" Header="Craft" Command="{Binding ViewSwitchCommand}" CommandParameter="player2" /&gt;
  &lt;/MenuItem&gt;
  </code></pre>
  
  <p>The command parameter expects a string.. not sure if that is it... hopefully this is something simple i'm just overlooking</p>