Class Button
- Namespace
- Geotab.Checkmate.ObjectModel.AddIns
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Represents the Add-In Button item.
public class Button : IAddInItem
- Inheritance
-
Button
- Implements
- Inherited Members
Constructors
Button(string?, string?, string?, string?, ItemName?, string?, string?)
Initializes a new instance of the Button class.
public Button(string? icon, string? svgIcon, string? page, string? click, ItemName? name, string? nameString, string? changePageState)
Parameters
icon
stringIcon for the button.
svgIcon
stringSvg Icon for the button.
page
stringPage name where button will appear.
click
stringLink to file that contains the functions to be executed on click of button.
name
ItemNameName of the Button in multiple languages.
nameString
stringName of the Button.
changePageState
stringLink to file that contains the functions to be executed when the page with the button receives focus.
Properties
ButtonName
Gets or Sets ItemName.
public ItemName? ButtonName { get; set; }
Property Value
ButtonNameString
Gets or Sets the button name.
public string? ButtonNameString { get; set; }
Property Value
ChangePageState
Gets or sets a URL to a JavaScript file which is executed when the page with the button receives focus.
public string? ChangePageState { get; set; }
Property Value
Click
Gets or sets a URL to a JavaScript file which is executed when the button is clicked.
public string? Click { get; set; }
Property Value
Icon
Gets or Sets a URL to the image for placing it in the button label.
public string? Icon { get; set; }
Property Value
Page
Gets or sets the built-in page to place the button on.
public string? Page { get; set; }
Property Value
SvgIcon
Gets or Sets a URL to the svg image for placing it in the button label.
public string? SvgIcon { get; set; }