Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个富文本框。我需要有可能禁用编辑,但我想保留光标:在单词之间移动,使用键盘选择一些单词等。
谢谢
试试这个IsReadOnly属性 - 这应该做你想要的
IsReadOnly
否则尝试richTextBox1.ReadOnly = true;