title: How can I temporarily unmask a password cell of a datagridviw?
body: <p>In my datagridview control I masked the password column like this:</p>
  <pre><code>private void dataGridView2_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
  {
    if (dataGridView2.Columns[e.ColumnIndex].HeaderText==&quot;Password&quot; &amp;&amp; e.Value != null)
    {
      e.Value = new String('*', e.Value.ToString().Length);
    }
  </code></pre>
  <p>Now what I would like to do is some how click and hold down a mouse button on a specific cell and show the actual password for that cell, and when I release the button have it go back to being masked.</p>
  <p>Any suggestions?</p>
  <p>Thanks.</p>