I have a WPF DataGrid with a bunch of DataGridTextColumn columns. Some of them have CellStyle property set with a custom Style with <DataTrigger> elements that set the Background color of the cells based on their value.
It appears selecting a row and pressing Ctrl-C only copies the cell text to the clipboard, not the colors. So pasting it to programs like OneNote produces a table with black text, and no background colors are copied.
Is there a way to enable copying of the style as well?
Thanks.