title: DataGrid LostFocus Event Raised when User Changes Row
body: <p>Here is the XAML used to create a datagrid:</p>
  
  <pre><code>&lt;DataGrid
              x:Name="dgrComments"
              Height="200"&gt;
              &lt;DataGrid.Columns&gt;
              &lt;DataGridTextColumn
                  Binding="{Binding Path=RepairID}"
                  Visibility="Hidden" /&gt;
              &lt;DataGridTextColumn
                  Binding="{Binding Path=Sequence}"
                  Visibility="Hidden" /&gt;
              &lt;DataGridTextColumn
                  Binding="{Binding Path=Entry}"
                  DisplayIndex="0" /&gt;
              &lt;DataGridTextColumn
                  Binding="{Binding Path=LastUpdate}"
                  Visibility="Hidden" /&gt;
          &lt;/DataGrid.Columns&gt;
      &lt;/DataGrid&gt;
  </code></pre>
  
  <p>Here is how I bind data to the grid ("Sequence" is a column in the RepairComments table):</p>
  
  <pre><code>RepairFilter=&lt;a text string that is a valid filter&gt;
  dvComments = New DataView(dsPIM.Tables("RepairDetails"), RepairFilter, "Sequence", DataViewRowState.CurrentRows)
  dgrComments.ItemsSource = dvComments
  </code></pre>
  
  <p>This all works fine EXCEPT that the datagrid dgrComments.LostFocus event is firing whenever the the user changes the selected row.  Why?</p>