title: control in ListView.GridViewColumn alignment
body: <p>I have following WPF ListView:</p>
  
  <pre><code>    &lt;ListView Grid.Column="2" Grid.Row="1" Margin="0,53,12,6" 
  Name="lvwProperties" 
  ItemsSource="{Binding Path=SelectedPropertyItems, Mode=TwoWay}" 
  Grid.ColumnSpan="2"&gt;
  
          &lt;ListView.View &gt;
  
                          &lt;GridView&gt;
                              &lt;GridViewColumn Header="Property" DisplayMemberBinding="{Binding Path=PropertyName, Mode=TwoWay}" Width="130" /&gt;
                              &lt;GridViewColumn Header="Is Mandatory" Width="90"  &gt;
  
                                  &lt;GridViewColumn.CellTemplate&gt;
  
                                      &lt;DataTemplate&gt;
  
                                          &lt;CheckBox IsChecked="{Binding Path=IsMandatory, Mode=TwoWay}" HorizontalAlignment="Center" /&gt;
  
                                      &lt;/DataTemplate&gt;
  
                                  &lt;/GridViewColumn.CellTemplate&gt;
  
                              &lt;/GridViewColumn&gt;
  
                          &lt;/GridView&gt;
                      &lt;/ListView.View&gt;
                  &lt;/ListView&gt;
  </code></pre>
  
  <p>I want to make the CheckBox aligned center in the 2nd GridColumn. Set the <code>HorizontalAlignment="Center"</code> seems doesn't do the trick. How to achive this in XAML???</p>