title: Using the same style in many listviews
body: <p>I want to use the same style in many listviews. And in my style i have defined the gridview columns also. </p>
  
  <p>But when i try to run, it throws an exception:</p>
  
  <blockquote>
    <p>View can't be shared by more than one
    ListView.</p>
  </blockquote>
  
  <p>How can i solve this?</p>
  
  <hr>
  
  <p>XAML:</p>
  
  <pre><code>&lt;Style x:Key="articleList" TargetType="{x:Type ListView}"&gt;
  &lt;Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True"/&gt;
  &lt;Setter Property="ScrollViewer.IsDeferredScrollingEnabled" Value="True"/&gt;
  &lt;Setter Property="ListView.ItemsSource" Value="{Binding}"/&gt;
  &lt;Setter Property="ListView.View"&gt;
      &lt;Setter.Value&gt;
          &lt;GridView&gt;
              &lt;GridViewColumn Header="Subject" Width="300"&gt;
                  &lt;GridViewColumn.CellTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextBlock Text="{Binding Subject}"/&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/GridViewColumn.CellTemplate&gt;
              &lt;/GridViewColumn&gt;
              &lt;GridViewColumn Header="Size" Width="75"&gt;
                  &lt;GridViewColumn.CellTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextBlock Text="{Binding SizeFormatted}"/&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/GridViewColumn.CellTemplate&gt;
              &lt;/GridViewColumn&gt;
              &lt;GridViewColumn Header="Poster" Width="175"&gt;
                  &lt;GridViewColumn.CellTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextBlock Text="{Binding Poster}"/&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/GridViewColumn.CellTemplate&gt;
              &lt;/GridViewColumn&gt;
              &lt;GridViewColumn Header="Age" Width="75"&gt;
                  &lt;GridViewColumn.CellTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextBlock Text="{Binding AgeFormatted}"/&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/GridViewColumn.CellTemplate&gt;
              &lt;/GridViewColumn&gt;
          &lt;/GridView&gt;
      &lt;/Setter.Value&gt;
  &lt;/Setter&gt;
  </code></pre>
  
  <p></p>