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:
property ContextMenuStrip^ ContextMenuStrip {
	virtual ContextMenuStrip^ get();
	virtual void set(ContextMenuStrip^ value);
}

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
Available since 2.0
Return to top
Show: