Hello,
I am trying to copy only the selected cell content but having FullRow selection mode. So I wanted to use the CopyingCellClipboardContent event but it does not fire with the Control+C Key combination. Is this the expected behavior?
So I have to use the KeyDown event from Gridview as this:
Private Sub grdMaquina_KeyDown(sender As Object, e As KeyEventArgs) Handles grdMaquina.KeyDown
If e.KeyCode = Keys.C And e.Control Then
If Not IsNothing(grdMaquina.CurrentCell) AndAlso Not IsNothing(grdMaquina.CurrentCell.Value) Then Clipboard.SetText(grdMaquina.CurrentCell.Value)
e.Handled = True
End If
End Sub
Is this correct?
Thank you.