Skip to content

SyncfusionExamples/wpf-gridcontorl-clipboard-operations

Repository files navigation

How to Copy Selected Text from WPF GridControl to Clipboard (notepad or any other external sources)?

This repository contains the samples which demonstrates various clipboard operation customization in WPF GridControl.

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;

Copying text from GridControl to Notepad

About

This repository contains the samples which demonstrates various clipboard operation customization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages