MarkdownMonsterAddin.AddMenuItem

Allows insertion of a menu item

public bool AddMenuItem(MenuItem mitem,
	string menuItemNameForInsertionAfter,
	string menuItemTextForInsertionAfter,
	AddMenuItemModes addMode)

Parameters

mitem
The menu item to insert

menuItemNameForInsertionAfter
Name of the main menuitem element to insert before or after - find in MainWindow.xaml or with Debug Tools

menuItemTextForInsertionAfter
Text of the menuitem element to insert bfore or after (use if there's is no explicit Name for the item)

addMode
Determines where the item is to be inserted

Overloads:


See also:

Class MarkdownMonsterAddin

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic