theDataGrid.ExecuteCommand(DataPresenterCommands.DeleteSelectedDataRecords);
...causes the dialog "You have selected 1 record for deletion..."
The RecordsDeleting event args allows you to suppress the messagebox.
this.xamDG.RecordsDeleting += (sender, e) => e.DisplayPromptMessage = false;