[]
        
(Showing Draft Content)

GC.Spread.Sheets.Touch.TouchToolStripSeparator

Class: TouchToolStripSeparator

Sheets.Touch.TouchToolStripSeparator

Table of contents

Constructors

Methods

Constructors

constructor

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());

Parameters

Name Type Description
canExecute? Function Defines when to display the separator with a function. If returns true, display the separator; otherwise, hide the separator.

Methods

name

name(): string

Gets the name of the separator.

Returns

string

Returns the current separator name.