Information about an Addin's menu item that is displayed on the Addin toolbar and the button displayed on the Addins installed menu.
MarkdownMonster.AddIns.AddInMenuItem
public class AddInMenuItem : object
Class Members
Member | Description | |
---|---|---|
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 |
An optional ImageSource you can bind as the toolbar icon. You can use any image source, but in most cases you are likely to bind to an ImageSource of an internal image resource contained in your addin's assembly. | |
KeyboardShortcut |
An optional keyboard shortcut in the | |
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.AddInsAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic