我有一个DataGrid(称为TheGrid),我想在其上实现复制和粘贴功能。复制功能很好用,但我不知道如何实现粘贴。我是否只需要从剪贴板获取数据并自行解析?命令绑定(bind):菜单项:CommandBinding_Executed背后的代码:privatevoidCommandBinding_Executed(objectsender,ExecutedRoutedEventArgse){if(e.Command.Equals(ApplicationCommands.Copy)){//Thisworksgreat,wowthatwaseasy!ApplicationCommands.