GC.Spread.Sheets.Touch Namespace > TouchToolStripItem class : TouchToolStripItem Constructor |
true
, display the item; otherwise, hide the item.
var instance = new GC.Spread.Sheets.Touch.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 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());