var value; // Type: any value = GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute);
function TouchToolStripItem( name : string, text : string, image : string, command : any, canExecute : any ) : any;
Parameters
- name
- The name of the item.
- text
- The item text.
- image
- The item image source.
- command
- Defines the executive function that occurs when the user taps the item.
- canExecute
- Defines when to show the item by a function. If returns
true
, display the item; otherwise, hide the item.