To prevent the default context menu of a TextBox from showing up, assign a empty context menu as shown below: