Spread.Sheets Documentation
Button class
GC.Spread.Sheets.CellTypes Namespace : Button class
Represents a button cell.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.Button();
function Button;
Example
This example creates a button cell.
var cellType = new GC.Spread.Sheets.CellTypes.Button();
cellType.buttonBackColor("#FFFF00");
cellType.text("this is a button");
activeSheet.getCell(0, 2).cellType(cellType);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.Base
      GC.Spread.Sheets.CellTypes.Button

Constructors
 NameDescription
public ConstructorRepresents a button cell.  
Top
Fields
 NameDescription
public Field (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the button's background color.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the button's bottom margin in pixels relative to the cell.  
public MethodGets or sets the button's left margin in pixels relative to the cell.  
public MethodGets or sets the button's right margin in pixels relative to the cell.  
public MethodGets or sets the button's top margin in pixels relative to the cell.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodGets or sets the button's content.  
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Method (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Button Cell