title: How to catch if cell Value got changed in DataGridView as sender
body: <p>I haven't found something that matches my problem so I ask it here. I have some code which belongs to a Textbox:</p>
  
  <pre><code>if ((sender as TextBox).Text == form1.filterType())
  {
      //Do something
  }
  </code></pre>
  
  <p>This comes from the TextBox TextChanged event. So when the TextChanged Event gets fired it calls a method which has the if-construct above and recognizes that the textchanged event came from the textbox.</p>
  
  <p>Now I want exactly the same just when someone writes into a cell in a DataGridView (not when it's just clicked - when the content changes).</p>
  
  <p>How to do this correctly and which event fires when the content changes in a cell without leaving the cell?</p>