Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
I a working on GridControl and by somehow the ApplicationCommands Copy/Cut/Paste do not work with GridControl. I tried looking into the GridControlBase source code to check if I did anything conflicts with the grid. All seem fine. But I found something that might be a bug in
public GridControlBase()
{
// ...
CommandManager.RegisterClassCommandBinding(typeof(GridControlBase), new CommandBinding(ApplicationCommands.Copy, OnExecutedCopy, OnCanExecuteCopy));
CommandManager.RegisterClassCommandBinding(typeof(GridControlBase), new CommandBinding(ApplicationCommands.Cut, OnExecutedCut, OnCanExecuteCut));
CommandManager.RegisterClassCommandBinding(typeof(GridControlBase), new CommandBinding(ApplicationCommands.Paste, OnExecutedPaste, OnCanExecutePaste));
CommandManager.RegisterClassCommandBinding(typeof(GridControlBase), new CommandBinding(ApplicationCommands.Undo, OnExecuteUndo, OnCanExecuteUndo));
CommandManager.RegisterClassCommandBinding(typeof(GridControlBase), new CommandBinding(ApplicationCommands.Redo, OnExecuteRedo, OnCanExecuteRedo));
}