In Windows Store apps, make popup for text selection appear on selection, rather than on click

11 views
Skip to first unread message

Tomas Hofmann

unread,
Jan 29, 2016, 1:57:50 PM1/29/16
to pdfne...@googlegroups.com

Q: When the user selects text in the PDFViewCtrl in the PDFNET SDK for Windows Store Apps, there popup with options (copy, highlight, etc) doesn't show up immediately. The user has to right click or tap on the selected text to bring it up. I would like to change this behaviour so that the popup appears immediately.

A: This can be done by modifying the TextSelect.cs file in the PDFViewCtrlTools project. A modified TextSelect.cs is attached to this post, which can replace the TextSelect.cs file in the PDFViewCtrlProjects and should work out of the box.
TextSelect.cs
Reply all
Reply to author
Forward
0 new messages