The selection changed. This can be triggered by clicking a cell, removing rows and in many other ways.
Use the Selection property to query the state of the new selection.
DataGrid Control