GcSpread.Sheets Namespace > TouchToolStripItem type : TouchToolStripItem Constructor |
true
, display the item; otherwise, hide the item.
var instance = new GcSpread.Sheets.TouchToolStripItem(name, text, image, command, canExecute);
function TouchToolStripItem( name : string, text : string, image : string, command : any, canExecute : any ) : TouchToolStripItem;
true
, display the item; otherwise, hide the item.spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ })) spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red"); spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripSeparator());