Export (0) Print
Expand All

TreeNode.ContextMenuStrip Property

Gets or sets the shortcut menu associated with this tree node.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual ContextMenuStrip ContextMenuStrip { get; set; }

Property Value

Type: System.Windows.Forms.ContextMenuStrip
The ContextMenuStrip associated with the tree node.

The shortcut menu is shown when the user right-clicks the tree node.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft