title: ListView ItemTemplate 100% width
body: <p>How can I make content of each <code>ListView</code> item expands to 100% width when using a <code>DataTemplate</code>?</p>
  
  <p>I have tried <code>HorizontalContentAlignment="Stretch"</code> in the <code>ListView</code> and <code>HorizontalAlignment="Stretch"</code> in the <code>DataTemplate</code>, but nothing seems to work, content is still aligned to the left.</p>
  
  <p>I have something like this:</p>
  
  <pre><code>&lt;ListView x:Name="questionsView" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" HorizontalContentAlignment="Stretch"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;Border Background="BlueViolet" HorizontalAlignment="Stretch"&gt;
                  &lt;Grid HorizontalAlignment="Stretch"&gt;
                      &lt;TextBlock Text="{Binding}" /&gt;
                      &lt;TextBlock HorizontalAlignment="Right"&gt;16 minutes ago&lt;/TextBlock&gt;
                  &lt;/Grid&gt;
              &lt;/Border&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>I guess there is one more layer between the <code>ListView</code> and the <code>ItemTemplate</code>.</p>