How can we disable the context menu for a textbox control?

 Posted by Tripati_tutu on 1/27/2011 | Category: C# Interview questions | Views: 6411 | Points: 40
Answer:

The Textbox class contains the ContextMenuStrip property. When we set this property to a dummy instance of the ContextMenu class, the textbox control is unable to provide any context menu on the right click of the mouse.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response