https://learn.microsoft.com/fr-fr/dotnet/api/system.windows.forms.datagrid.hittesttype?view=netframework-4.8.1&redirectedfrom=MSDN
DataGrid.HitTestType Enum (System.Windows.Forms) | Microsoft Learn
Specifies the part of the DataGrid control the user has clicked.
windows formsdatagridenumsystemmicrosoft