[]
Sheets.Touch.TouchToolStripSeparator
• new TouchToolStripSeparator(canExecute?
)
Represents a separator in the toolbar.
example
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());
Name | Type | Description |
---|---|---|
canExecute? |
Function |
Defines when to display the separator with a function. If returns true , display the separator; otherwise, hide the separator. |
▸ name(): string
Gets the name of the separator.
string
Returns the current separator name.