How to remove the default context menu of a TextBox Control? C#

后端 未结 3 585
感动是毒
感动是毒 2021-02-04 08:36

How to remove the default context menu of a TextBox Control?

\"alt

Is there a propert

3条回答
  •  独厮守ぢ
    2021-02-04 08:55

    You can also set the ShortcutsEnabled property to false. This removes the default context menu and all clipboard functionality. I presume that's why you're trying to suppress the menu? I can't think of any good reason other than purposefully preventing your users from using copy/paste.

提交回复
热议问题