var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute);
function TouchToolStripItem;
var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute);
function TouchToolStripItem;
//This example adds a delete image with red text. spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ })) spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red"); spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripSeparator());
Object
GC.Spread.Sheets.Touch.TouchToolStripItem
Name | Description | |
---|---|---|
TouchToolStripItem Constructor | Represents an item in the toolbar. |
Name | Description | |
---|---|---|
font | Gets or sets the font of the item text. | |
foreColor | Gets or sets the color of the item text. | |
image | Gets or sets the source of the item image. | |
name | Gets or sets the name of the item. | |
text | Gets or sets the text of the item. |