GH_DocumentObjectMenu_AppendCustomItem Method (ToolStripDropDown, Control) |
Utility function for inserting exotic controls into dropdown menus.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool Menu_AppendCustomItem(
ToolStripDropDown menu,
Control control
)
Public Shared Function Menu_AppendCustomItem (
menu As ToolStripDropDown,
control As Control
) As Boolean
Parameters
- menu
- Type: System.Windows.FormsToolStripDropDown
Dropdown to add a control to. - control
- Type: System.Windows.FormsControl
Control to insert.
Return Value
Type:
BooleanSee Also