Skip to content

Copy DataGrid Row to Clipboard #5903

Discussion options

You must be logged in to vote

You could access underlying VM item that is bound to a row and use it instead of getting data from the Content. Alternatively you could pass SelectedItems via converter (as well as current ClipboardCopyMode) to your VM and set text from there.

It gives you additional abilities to format text easily etc.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ShrutiJaiswal1494
Comment options

@FoggyFinder
Comment options

Answer selected by ShrutiJaiswal1494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants