Class AddInMenuItem

Information about an Addin's menu item that is displayed on the Addin toolbar and the button displayed on the Addins installed menu.

System.Object
  MarkdownMonster.AddIns.AddInMenuItem
public class AddInMenuItem : object

Class Members

MemberDescription

Constructor

By default hook up Execute/ExecuteConfiguration/CanExecute handlers to the On Handlers in the Addin class.

AdditionalDropdownMenuItems

Allows you to add additional menu items to the drop down list of the toolbar icon

CanExecute

Check activation that passes the button or menu item that is clicked.

Caption

The display name for the Addin on the menu

Command

Internally created Command object that hooks up Execute and CanExecute

ConfigurationMenuItem

The actual WPF Menu item that was created and you can reference after creation. Make sure to check for null. Available only after Window has initialized in OnWindowLoaded() or after.

Execute

Event implementation that passes the button or menu item that is clicked.

ExecuteConfiguration

Event implementation fired when the 'Configure' option is activated Use this to display the configuration API

FontawesomeIcon

If you want this addin to display on the toolbar choose a FontAwesome icon for the addin. Anything other than Fontawesome.None will render a toolbar button wiht this icon. If .none is specified no toolbar button is rendered (only the addin menu option).

FontawesomeIconColor

Optional color of the Font AwesomeIcon to use other than the default window foreground color (default).

IconImageSource

KeyboardShortcut

An optional keyboard shortcut in the

format of Shift+Alt-H, F7, Alt-F1 etc.

MenuItemButton

The actual WPF Menu item that was created and you can reference after creation. Make sure to check for null. Available only after Window has initialized in OnWindowLoaded() or after.

Name

Menu Item name that you can address to find the menu item and manipulate it

Requirements

Namespace: MarkdownMonster.AddIns
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic