粘贴到RichTextbox中 [英] Pasting into a RichTextbox
本文介绍了粘贴到RichTextbox中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有Rich Textbox控件的winform,它注意到粘贴从CTRL + V单词复制的文本效果很好,但是右键单击选项>粘贴不可用.
Hi I''ve a winform with a Rich Textbox control on it have noticed that to paste text copied from word CTRL + V works fine but the option to Right Click > Paste is not available. Are there any work-arounds for this?
推荐答案
朋友,
不幸的是,您必须创建自己的ContextMenuStrip并将其分配给RichTextBox''ContextMenuStrip属性.
问候
sarva
hi friend,
You''d have to create your own ContextMenuStrip and assign it to the RichTextBox'' ContextMenuStrip property, unfortunately
regards
sarva
这篇关于粘贴到RichTextbox中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文