Click or drag to resize

GH_DocumentObjectMenu_AppendGenericMenuItem Method

Note: This API is now obsolete.

This method is obsolete.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
[ObsoleteAttribute("This method is obsolete")]
public static ToolStripMenuItem Menu_AppendGenericMenuItem(
	ToolStrip menu,
	string text,
	EventHandler on_click = null,
	Image image = null,
	Object tag = null,
	bool enabled = true,
	bool checked = false
)

Parameters

menu
Type: System.Windows.FormsToolStrip
text
Type: SystemString
on_click (Optional)
Type: SystemEventHandler
image (Optional)
Type: System.DrawingImage
tag (Optional)
Type: SystemObject
enabled (Optional)
Type: SystemBoolean
checked (Optional)
Type: SystemBoolean

Return Value

Type: ToolStripMenuItem
See Also