title: ContextMenu in MVVM
body: <p>I want to bind a contextmenu to a list of commands.</p>
  
  <pre><code>&lt;Grid.ContextMenu&gt;
      &lt;ContextMenu ItemsSource="{Binding ItemContextCommands, Converter={StaticResource commandToStringConverter}}"&gt;
              &lt;ContextMenu.ItemTemplate &gt;
                      &lt;DataTemplate DataType="MenuItem"&gt;
                              &lt;MenuItem Command="{Binding}"&gt;&lt;/MenuItem&gt;
                          &lt;/DataTemplate&gt;
                  &lt;/ContextMenu.ItemTemplate&gt;
          &lt;/ContextMenu&gt;
  &lt;/Grid.ContextMenu&gt;
  </code></pre>
  
  <p>The <code>commandToStringConverter</code> simply converts a list of commands to a list of strings calling the <code>ToString()</code> on each command in the list.</p>
  
  <p>How can I achieve that the <code>Command</code> in each <code>MenuItem</code> is called?</p>