I need to intercept the copy cell operation so I can replace what is being copied onto the clipboard. In order to do this properly, I need to have access to the UIElement being displayed in the Cell, since the DataContext in the Cell is a custom object that I need access to.
There seem to be two points to hook into, one is the CopyGridCellContent event, one is by setting a custom GridCopyPaste object on the grid. Neither of these provides access to the Cell's UIElement.
For a bit more detail, the Row object has a double in a particular field, but when it is rendered in the UI, the renderer creates a more complex object that I need access to that exists only in the Cell's UIElement.
How can I do this?