Syncfusion.SfDataGrid.XForms
Example 

SelectionChanging Event (SfDataGrid)

Occurs when the selection is changing in SfDataGrid.
Syntax
public event GridSelectionChangingEventHandler SelectionChanging
Remarks
The user can cancel the selection by using this event.
Example
dataGrid.SelectionChanging += DataGrid_SelectionChanging;
            
void DataGrid_SelectionChanging (object sender, GridSelectionChangingEventArgs e)
{
//You can achieve your requirement here.
}
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.3451.0.26

See Also