GH_MenuShortcut public class GH_MenuShortcut : GH_ISerializable Show allMaintains information about context and dropdown menu shortcuts. AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsGH_MenuShortcut#public GH_MenuShortcut()Create a new blank instance of the GH_MenuShortcutInfo class.GH_MenuShortcut#public GH_MenuShortcut(string itemPath, Keys shortcut, string shortcutText)Create a new instance of the GH_MenuShortcutInfo class.Parameters:itemPath (string)Path to menu item in menu hierarchy. Use back-slash symbols to separate parent-child items.shortcut (Keys)Shortcut to use for menu item.shortcutText (string)Text override to display for menu shortcut. Leave blank for default display.GH_MenuShortcut#public GH_MenuShortcut(string itemPath)Create a new instance of the GH_MenuShortcutInfo class.Parameters:itemPath (string)Path to menu item in menu hierarchy. Use back-slash symbols to separate parent-child items.PropertiesItemHierarchy#public string[] ItemHierarchy { get; }Gets the menu item hierarchy.ItemPath#public string ItemPath { get; set; }Gets or sets the menu item path. Submenus are indicated using back-slash symbols (i.e. "File\Special Folders\Components Folder")Shortcut#public Keys Shortcut { get; set; }Gets or sets the menu shortcut keys.ShortcutText#public string ShortcutText { get; set; }Gets or sets the menu shortcut display string. Leave blank for default display.MethodsApplyToMenu#public ToolStripMenuItem ApplyToMenu(MenuStrip menu, IEnumerable<ToolStripMenuItem> filter)Apply this shortcut to an actual menu item.Parameters:menu (MenuStrip)Menu that contains relevant menu item.filter (IEnumerable<ToolStripMenuItem>)A collection of mutable menu items.Returns: The menu item that was changed or null on failure.Read#public bool Read(GH_IReader reader)Parameters:reader (GH_IReader)Implements: ReadWrite#public bool Write(GH_IWriter writer)Parameters:writer (GH_IWriter)Implements: Write