How to disable right click inside TextBox

How to disable right click inside TextBox?

+5
source share
2 answers

You can simply configure the context menu to a new one. ContextMenu

    textBoxt1.ContextMenu = new ContextMenu();
+9
source

A simpler solution would be to simply disable the ShortcutsEnabled property of the text field, as described here .

It would be a shame both scientifically and philosophically to create an entire object that has absolutely no purpose in life.

+3
source

All Articles