I'm using SfDataGrid version 20.1.0.51 and I can achieve this by simply binding a 'public ObservableCollection<object> SelectedItems'
property to the SfDataGrid in XAML.
In ViewModel:
private ObservableCollection<object> _selecionados;
public ObservableCollection<object> Selecionados
{
get { return _selecionados; }
set { SetProperty(ref _selecionados, value); }
}
In XAML:
<syncfusion:SfDataGrid
...
SelectedItems="{Binding Selecionados}" />
Hope it helps!