简体   繁体   中英

how to disable copy/paste in textbox in windows phone using c#?

I have one textbox in which i just want user to do an manual entry.so i need to disable copy and as-specially paste option which is there in windows phone. is it possible to do it?

This is unfortunaly not possible.

The only solution is to create your own control, with a custom keyboard too.

Regards,

Textbox is not copy-paste-able. You can try using a ReadOnly TextBox as seen here: WP7 CopyPaste on TextBox .

You could also put it in a WebBrowser control (provided you have enough content and are willing to suffer the display / performance )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM