Gets or sets context menu for the tray icon.
[Visual Basic] Public Property ContextMenu As ContextMenu [C#] public ContextMenu ContextMenu {get; set;} [C++] public: __property ContextMenu* get_ContextMenu(); public: __property void set_ContextMenu(ContextMenu*); [JScript] public function get ContextMenu() : ContextMenu; public function set ContextMenu(ContextMenu);
The context menu for the tray icon. The default value is a null reference (in Visual Basic Nothing).
The menu is shown when a right-mouse click is performed on an icon in the system tray. Context menus also are known as pop-up menus.
TrayIcon Class | TrayIcon Members | System.WinForms Namespace | ContextMenu