Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programmatically copy/paste in windows phone 8?

Is there a way to programmatically copy/paste text in windows phone 8. I want to copy the contents from the clipboard when user clicks a button.

Any thoughts?

like image 693
ac-lap Avatar asked Dec 02 '25 06:12

ac-lap


1 Answers

if the control is a clipboard then

You cannot get clipboard text from a Windows Phone application, only set it. Calling the GetText method in a Windows Phone application will always cause a SecurityException to occur.

You can only set text to clipboard in windows phone and can not read it.

check this link

like image 151
A.K. Avatar answered Dec 03 '25 20:12

A.K.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!