|
|
Title | Use a control's ContextMenu property to display a context menu in VB .NET |
Keywords | ContextMenu, context menu, dropdown menu, popup menu |
Categories | VB.NET, Software Engineering, Controls |
|
|
Create the ContextMenu. Select the control and set its ContextMenu property to the menu. That's all there is to it.
If the control normally has a default context menu (e.g. the TextBox has a Copy, Cut, Paste, etc. context menu), this menu replaces the default menu.
|
|
|
|
|
|