如何在文本框窗口手机中禁用复制和粘贴? [英] How to disable copy and paste in textbox windows phone?
本文介绍了如何在文本框窗口手机中禁用复制和粘贴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在文本框中禁用复制和粘贴功能(WP Silverlight)?
How i can disable the copy and paste functionality in textbox (WP Silverlight)?
要在文本框中禁用复制功能,我使用了selectionChanged事件并将所选文本设为当前输入的文字。例如:textbox.Select(" textbox.text.length"," textbox.text.length");
To disable copy functionality in textbox,i have used selectionChanged event and made selected text as current entered text. Ex: textbox.Select("textbox.text.length","textbox.text.length");
但在禁用粘贴时遇到困难。或从键盘中删除剪贴板图标..
But facing difficulties while disable the paste. OR Remove Clipboard icon from Keyboard..
推荐答案
您好,请参阅
此主题,请。
问候。
这篇关于如何在文本框窗口手机中禁用复制和粘贴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文