title: sometimes I want to hide buttons in a DataGridViewButtonColumn
body: <p>I have a <code>DataGridView</code> which was the subject of a previous question (<a href="https://stackoverflow.com/questions/25083989/datagridview-datagridviewbuttoncolumn-doesnt-notice-a-real-button/25089129">link</a>). But sometimes the Button is <code>null</code>. This is fine. But if it is null, is there any way I can optionally remove/add (show/hide?) buttons to the <code>DataGridViewButtonColumn</code> of Buttons</p>
  
  <p>like this:</p>
  
  <pre><code>+------------+------------+
  | MyText     | MyButton   |
  +------------+------------+
  | "do this"  | (Yes)      |
  | "do that"  | (Yes)      |
  | FYI 'blah' |            | &lt;---- this is where I optionally want no button
  | "do other" | (Yes)      |
  +------------+------------+
  </code></pre>
  
  <p>this is what I have tried so far (<a href="https://stackoverflow.com/questions/25083989/datagridview-datagridviewbuttoncolumn-doesnt-notice-a-real-button/25089129">based on this example</a>)</p>
  
  <pre><code>private void grdVerdict_CellFormat(object sender, DataGridViewCellFormattingEventArgs e)
  {
     if (e.ColumnIndex == grdChoice.Columns["yesbutton"].Index)
     {
         if (grdVerdict[e.ColumnIndex, e.RowIndex].Value == null)
         {
              //grdVerdict[e.ColumnIndex, e.RowIndex].Visible = false; //&lt;-says 'it is read only'
              //grdVerdict[e.ColumnIndex, e.RowIndex].Value = new DataGridTextBox(); //&lt;- draws 'mad red cross' over whole grid
              //((Button)grdVerdict[e.ColumnIndex, e.RowIndex]).Hide; //&lt;- won't work
         }
         else
         {
            e.Value = ((Button)grdChoice[e.ColumnIndex, e.RowIndex].Value).Text;
         }
     }
  }
  </code></pre>