How to disable the default Context Menu devexpress

27 May

If you want to Hide context menu on specific TextBoxt (Devexpress) Control then use this following Code,Write this code on Form Load Event


ContextMenu emptyMenu = new ContextMenu();


txtBardcode.Properties.ContextMenu = emptyMenu;


Dim emptyMenu As New ContextMenu()


txtBardcode.Properties.ContextMenu = emptyMenu





Leave a comment

Posted by on May 27, 2014 in WinForm


Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: