Copy DataGrid Row to Clipboard #5903
-
I have a Datagrid with Context Menu to allow user to copy DataGrid Row and Cell values to Clipboard. Currently I am using the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 It gives you additional abilities to format text easily etc. |
Beta Was this translation helpful? Give feedback.
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 currentClipboardCopyMode
) to your VM and set text from there.It gives you additional abilities to format text easily etc.