Category / Section
How to copy selected text from WPF GridControl to clipboard (notepad or any other external sources)?
2 mins read
WPF GridControl provides support for clipboard operations. You can cut or copy and paste data to or from grid to other external sources, like notepad, excel, etc.
You can change the copy paste operations in gridcontrol by setting the flaggable enum CopyPasteOption property. You can enable copy and paste by setting CopyPasteOption property to CopyText and PasteText.
gridControl.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell; grid.Model.Options.CopyPasteOption = CopyPaste.CopyText | CopyPaste.PasteText;
Sample: View sample in GitHub