<Button
Content="Undo Action"
Command="{x:Static igDP:DataPresenterCommands.Undo}"
CommandTarget="{Binding ElementName=xamDataPresenter1}" />
<!--You must enable undo operations to enable the undo/redo commands-->
<igDP:XamDataPresenter Name="xamDataPresenter1" BindToSampleData="True" IsUndoEnabled="True">
</igDP:XamDataPresenter>