title: WPF - How can I center all items in a WrapPanel?
body: <p>I'm using a <code>WrapPanel</code> as the <code>ItemsPanel</code> of an <code>ItemsControl</code>.  Right now, the items in the control wrap like this:</p>
  
  <pre><code>|1234567  |
  |890      |
  </code></pre>
  
  <p>I'd like them to wrap like this:</p>
  
  <pre><code>| 1234567 |
  |   890   |
  </code></pre>
  
  <p>Conceptually, the layout process should align each line of items such that it's centered within the <code>WrapPanel</code>'s bounds.</p>
  
  <p>Can someone explain how this is possible please?</p>