title: Stretching ListView columns
body: <p>I'm new to WPF. I'm developing an application which contains a list view control. I have added 5 columns to it but the problem is these five columns are not stretched in the list view control.</p>
  
  <pre><code>   &lt;ListView Grid.Column="2" Name="d" Margin="0,0,0,23" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" &gt;
              &lt;ListView.View&gt;
                  &lt;GridView&gt;
                      &lt;GridViewColumn Header="d" Width="100" /&gt;
                      &lt;GridViewColumn Header="d" Width="100"/&gt;
                      &lt;GridViewColumn Header="d" Width="100" /&gt;
                      &lt;GridViewColumn Header="d" Width="100"/&gt;
                      &lt;GridViewColumn Header="d" Width="100"/&gt;
                      &lt;GridViewColumn Header="d"  Width="100"/&gt;
                  &lt;/GridView&gt;
             &lt;/ListView.View&gt;
  
          &lt;/ListView&gt;
  </code></pre>
  
  <p>Here is the code that I used. I tried to put * for as width in columns but it not acceptable.  How am I to stretch this columns in list view control?</p>