How do you disable the right mouse click inside a TextBox
?
You can just set the context menu to a new ContextMenu
textBoxt1.ContextMenu = new ContextMenu();
A neater solution might be to just disable the 'ShortcutsEnabled' property of the textbox as described here.
It would be a shame both scientifically and philosophically to create a whole object that has absolutely no purpose in life.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With