title: How can I highlight an entire DataGrid row when a single cell is clicked?
body: <p>I have a DataGrid defined as follows. When I click a cell in the DataGrid only the cell is highlighted. How can I change it so that when I click the cell the entire row is highlighted?</p>
  
  <pre><code>&lt;DataGrid Name="fileGrid" AutoGenerateColumns="False" Height="150" Width="Auto" 
              Margin="10,10,0,0" 
              HorizontalAlignment="Left" VerticalAlignment="Top" SelectionChanged="fileGrid_SelectionChanged"&gt;
      &lt;DataGrid.Columns&gt;
          &lt;DataGridTextColumn Header="Company Name" 
              x:Name="columnCompanyName" 
              Binding="{Binding Path=Customer.CompanyName}"
              IsReadOnly="True"&gt;                    
          &lt;/DataGridTextColumn&gt;
  
          &lt;DataGridTextColumn Header="Customer Surname" 
              x:Name="columnCustomerSurname" 
              Binding="{Binding Path=Customer.Surname}"
              IsReadOnly="True"&gt;
          &lt;/DataGridTextColumn&gt;
  
          &lt;DataGridTextColumn Header="Customer Address" 
              x:Name="columnAddressLine1" 
              Binding="{Binding Path=Customer.Address.Line1}"
              IsReadOnly="True"&gt;
          &lt;/DataGridTextColumn&gt;
  
          &lt;DataGridTextColumn Header="Customer City" 
              x:Name="columnCity" 
              Binding="{Binding Path=Customer.Address.City}"
              IsReadOnly="True"&gt;
          &lt;/DataGridTextColumn&gt;
  
      &lt;/DataGrid.Columns&gt;
  &lt;/DataGrid&gt;
  </code></pre>