Table of Contents

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 string

Url of the menu.

icon string

Icon for the menu.

svgIcon string

Svg Icon for the menu.

path string

Path where menu will appear in navigation panel.

category string

Category where menu will appear in the new navigation panel.

menuId string

Id to associate with the menu.

menuName ItemName

Name of the menu (in multiple languages) that will appear in the navigation panel.

menuNameString string

Name 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

string

string

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

string

string

MenuId

Gets or Sets a unique identifier for this menu.

public string? MenuId { get; set; }

Property Value

string

string

Remarks

This string value of your choice but should be unique.

MenuName

Gets or Sets ItemName.

public ItemName? MenuName { get; set; }

Property Value

ItemName

ItemName

MenuNameString

Gets or Sets the menu name.

public string? MenuNameString { get; set; }

Property Value

string

string

Path

Gets or Sets where in the menu hierarchy this menu item should reside.

public string? Path { get; set; }

Property Value

string

string

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

string

string

Url

Gets or Sets the URL to the HTML page to load when clicking on this menu item.

public string? Url { get; set; }

Property Value

string

string