I have a datagrid and a view model that has an Observable collection of \"Person\" class which serves as ItemSource for the datagrid.
The Datagrid has two text colum
Try setting your DataGrid to ...
CanUserDeleteRows="False" SelectedItem="{Binding SelectedPerson, Mode=TwoWay}"
and adding ...
Add SelectedPerson to your VM and perform your delete validation based on the SelectedPerson in the DeletePersonCommand (ICommand) Execute or CanExecute and remove the item from the ObservableCollection if validation passes.