Can I prevent the insertion of text (ctrl + v) in the textbox? If so, how?

  • Hmm, for sure you can, but why ? You definitely want to force the user to fill all the letters on their own? - VladD
  • @VladD yes, necessarily - ZOOM SMASH
  • But why? It looks hostile to the user of features. - VladD
  • @VladD no one will use this in wide circles, I am writing for friends) - ZOOM SMASH
  • 2

1 answer 1

In WinForms, the easiest way to disable cutting, copying, and pasting into a text field is to set the ShortcutsEnabled property (Indicates if the hotkeys specified for this control are active) to false .