Table of Contents

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 string

Icon for the button.

svgIcon string

Svg Icon for the button.

page string

Page name where button will appear.

click string

Link to file that contains the functions to be executed on click of button.

name ItemName

Name of the Button in multiple languages.

nameString string

Name of the Button.

changePageState string

Link 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

ItemName

ItemName

ButtonNameString

Gets or Sets the button name.

public string? ButtonNameString { get; set; }

Property Value

string

string

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

string

string

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

string

string

Icon

Gets or Sets a URL to the image for placing it in the button label.

public string? Icon { get; set; }

Property Value

string

string

Page

Gets or sets the built-in page to place the button on.

public string? Page { get; set; }

Property Value

string

string

SvgIcon

Gets or Sets a URL to the svg image for placing it in the button label.

public string? SvgIcon { get; set; }

Property Value

string

string