winforms - How to disable tooltips for an entire .net DataGridView column -


I have a winform datagridview in which there is a column of buttons I want to disable tooltips for that column - Tooltips Should still show up for the other columns. I think tooltips come in the way of clicking on the button - when there is a click on the tooltip, the click event button does not come down. Very annoying.

I've tried to handle Seltolteep contained incident and evacuated to a column or an empty string returned, but then goes back to the show button text in formal tooltip. I have a column to try to clear the Haktultip text to an empty string, and he hides the tooltip to correctly column headers, but all other lines in the tooltip are still shown.

What is the best way to disable tooltip whole column?

Thank you Jimmy

I was looking for an answer to this question but all Forums said that it was not possible. However, I found the solution.

On your Data Grid view, handle the Salemhouse Enter event. The event handler to DataGridViewCellEventArgs set a ColumnIndex property is to set it DataGridView.ShowCellToolTips property Sorry such (VB please):

  private sub MyDataGridView_CellMouseEnter (object as the sender, as DataGridViewCellEventArgs) handles DataGridView.CellMouseEnter MyDataGridView.ShowCellToolTips = e.ColumnIndex = & lt; Column # I want Tooltips & gt; Show and Sbsdi   to 

And, of course, because it is very easy to turn on or off at cell level DataGridViewCellEventArgs in RowIndex assets.

I am sorry that after five years of this post I got an answer!

Comments