Class Menu
- Namespace
- Geotab.Checkmate.ObjectModel.AddIns
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents the Add-In Menu item.
public class Menu : IAddInItem
- Inheritance
-
Menu
- Implements
- Inherited Members
Constructors
Menu()
Initializes a new instance of the Menu class.
public Menu()
Menu(string?, string?, string?, string?, string?, string?, ItemName?, string?)
Initializes a new instance of the Menu class.
public Menu(string? url, string? icon, string? svgIcon, string? path, string? category, string? menuId, ItemName? menuName, string? menuNameString)
Parameters
url
stringUrl of the menu.
icon
stringIcon for the menu.
svgIcon
stringSvg Icon for the menu.
path
stringPath where menu will appear in navigation panel.
category
stringCategory where menu will appear in the new navigation panel.
menuId
stringId to associate with the menu.
menuName
ItemNameName of the menu (in multiple languages) that will appear in the navigation panel.
menuNameString
stringName of the menu that will appear in the navigation panel.
Properties
Category
Gets or Sets where in the new navigation bar this menu item should reside.
public string? Category { get; set; }
Property Value
Remarks
This property works for the new navigation bar just like "Path" property for the old one.
Icon
Gets or Sets a URL to the image for placing it in the Menu label.
public string? Icon { get; set; }
Property Value
MenuId
Gets or Sets a unique identifier for this menu.
public string? MenuId { get; set; }
Property Value
Remarks
This string value of your choice but should be unique.
MenuName
Gets or Sets ItemName.
public ItemName? MenuName { get; set; }
Property Value
MenuNameString
Gets or Sets the menu name.
public string? MenuNameString { get; set; }
Property Value
Path
Gets or Sets where in the menu hierarchy this menu item should reside.
public string? Path { get; set; }
Property Value
Remarks
It will follow the menuId specified or become a child item if a trailing slash is provided, such as "ActivityLink/".
SvgIcon
Gets or Sets a URL to the svg image that is placed in front of the menu item.
public string? SvgIcon { get; set; }
Property Value
Url
Gets or Sets the URL to the HTML page to load when clicking on this menu item.
public string? Url { get; set; }