ListView Context Menu
C#
3
Posts
2
Posters
0
Views
1
Watching
-
I am using MS VS 2008 and can find the ListView property ContextMenuStrip, but no property for ContextMenu. How can I activate (show) a ContextMenu when I right-click my ListView please?
-
I am using MS VS 2008 and can find the ListView property ContextMenuStrip, but no property for ContextMenu. How can I activate (show) a ContextMenu when I right-click my ListView please?
-
You must set it using code : listView1.ContextMenu = ... // place your context menu here. It doesn't show in property windows, because ContextMenu is replaced using ContextMenuStrip since VS2005.
Many thanks for the heads up. Much appreciated.