Skip to content
FoolRunning edited this page Jul 26, 2022 · 9 revisions

Description

Specification of a custom menu location for a PluginMenuEntry

Properties

InsertAfterMenuHierarchy

IReadOnlyList InsertAfterMenuHierarchy

If specified, each successive string should be the English menu and/or menu item name that specifies the "path" to the place in the menu hierarchy (of either the main window menu or a child window menu) after which the plugin's menu is to be inserted. ENHANCE: If last path item is the same as the previous item, it will be inserted at the top of that menu instead.

NOTE: For menu items that have ellipses, the ellipses may be omitted.


WindowType

WindowType WindowType

Type of window whose menu hierarchy will be searched for the location.


Methods

CustomMenuLocation

CustomMenuLocation(WindowType windowType, params string[] insertAfterMenuHierarchy)

If the path does not resolve to a valid menu location, the PluginMenuEntry<IPluginHost>.Location will be used as a fallback.

Parameter Description
windowType Type of window whose menu hierarchy will be searched for the location.
insertAfterMenuHierarchy Each successive string should be the English menu and/or menu item name that specifies the "path" to the place in the menu hierarchy (of either the main window menu or a child window menu) after which the plugin's menu is to be inserted. For menu items that have ellipses, the ellipses may be omitted.

This page is auto-generated. User edits will be lost when regenerated.

Clone this wiki locally