title: Loop xaml element
body: <p>I have an array of strings. For each of these strings, I'd like to create a seperate xaml element (<code>&lt;menuitem&gt;</code> is from an external library):</p>
  
  <pre><code>&lt;MenuItem Header="Update"&gt;
    &lt;MenuItem Header="arrayvalue1" Command="{Binding UpdateCommand}" /&gt;
    &lt;MenuItem Header="arrayvalue2" Command="{Binding UpdateCommand}" /&gt;
    &lt;MenuItem Header="arrayvalue3" Command="{Binding UpdateCommand}" /&gt;
  &lt;/MenuItem&gt;
  </code></pre>
  
  <p>Instead of hardcoding 3 elements, I'd like to create these from the array of strings.</p>
  
  <p>Is this possible and if so, how?</p>