Grasshopper API
GH_DocumentObjectMenu_AppendGenericMenuItem Method |
Note: This API is now obsolete.
This method is obsolete.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

[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 )
<ObsoleteAttribute("This method is obsolete")> Public Shared Function Menu_AppendGenericMenuItem ( menu As ToolStrip, text As String, Optional on_click As EventHandler = Nothing, Optional image As Image = Nothing, Optional tag As Object = Nothing, Optional enabled As Boolean = true, Optional checked As Boolean = false ) As ToolStripMenuItem
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