However, in the example above, the message "DataObject.Pasting event cannot be found" appears. What is the right way to bind the pasting event?
Thanks a lot
2 Answers, 1 is accepted
answered on 19 Aug 2020, 10:01 AM
Thank you for the shared code snippet.
The DataObject.Pasting event is an attached one and such events cannot be handled with the EventToCommandBehavior. That said, you can check out the following thread, which lists some suggestions for handling attached events.