title: Data grid checkbox automation
body: <p>I have a datagrid with a check box. When I click n the cell, I would like the checkbox to be automatically checked when I selected the cell which contains it. what it's doing right now is that I need to select the cell then click on the checkbox and that is quite annoying for us.</p>
  
  <pre><code>&lt;dg:DataGrid Name="GridUsureOperation" Margin="10,444,82,6" ItemsSource="{Binding}" Style="{StaticResource GridMenu}" SelectionMode="Single" SelectionUnit="Cell"&gt;
      &lt;dg:DataGrid.Columns&gt;
          &lt;dg:DataGridTextColumn Header="Opération" Width="*" MinWidth="60" 
                                 Binding="{Binding Operation.DescOperation}" 
                                 IsReadOnly="True" /&gt;
          &lt;dg:DataGridTextColumn Header="Dernière maintenance" Width="SizeToHeader" MinWidth="50"
                                 Binding="{Binding DateDerniereMaintenance, StringFormat=yyyy-MM-dd}" 
                                 IsReadOnly="True"/&gt;
          &lt;dg:DataGridTextColumn Header="Usure dernière maintenance" Width="SizeToHeader" MinWidth="50"
                                 Binding="{Binding UsureDerniereOperation}" 
                                 IsReadOnly="True"/&gt;
          &lt;dg:DataGridTextColumn Header="Fréquence(usure)" Width="SizeToHeader" MinWidth="50"
                                 Binding="{Binding QteUsure}" 
                                 IsReadOnly="True"/&gt;
          &lt;dg:DataGridTextColumn Header="Unité" Width="SizeToHeader" MinWidth="50"
                                 Binding="{Binding TypeUsure.Description}" 
                                 IsReadOnly="True"/&gt;
          &lt;dg:DataGridCheckBoxColumn Header="Forcer?" Width="SizeToHeader" MinWidth="50"
                                 Binding="{Binding AfficherMaintenance}"                                         
                                 IsReadOnly="False"&gt;
  
          &lt;/dg:DataGridCheckBoxColumn&gt;
      &lt;/dg:DataGrid.Columns&gt;
  &lt;/dg:DataGrid&gt;
  </code></pre>