topsykretts
Well-known member
- Joined
- Dec 22, 2011
- Messages
- 47
- Programming Experience
- Beginner
My question is simple. How to disable double click event on cells in datagridview?, because when it's enabled my cells become editable.
I am trying with:
But after few double clicks it again become editable.
I am trying with:
VB.NET:
Private Sub DataGridView1_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellDoubleClick
DataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect
End Sub