Zaznaczona polecenie Datagrid WPF

<CheckBox IsChecked="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType= {x:Type Window}}, 
Path=DataContext.UpdateCommand}"/>
Sore Stork