Spread.Sheets Documentation
CheckBox class
Represents a check box cell.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.CheckBox();
function CheckBox;
Example
This example creates a check box cell.
var cellType1 = new GC.Spread.Sheets.CellTypes.CheckBox();
cellType1.caption("caption");
cellType1.textTrue("true");
cellType1.textFalse("false");
cellType1.textIndeterminate("indeterminate");
cellType1.textAlign(GC.Spread.Sheets.CellTypes.CheckBoxTextAlign.bottom);
cellType1.isThreeState(true);
activeSheet.getCell(1, 1).cellType(cellType1);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.Base
      GC.Spread.Sheets.CellTypes.CheckBox

Constructors
 NameDescription
public ConstructorCheckBox ConstructorRepresents a check box cell.  
Top
Fields
 NameDescription
public FieldtypeName (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public MethodactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodcaptionGets or sets the caption of the cell type.  
public MethodcreateEditorElement (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethoddeactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodfocus (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodformat (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodfromJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitHeight (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitWidth (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetHitInfo (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisEditingValueChanged (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisImeAware (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisReservedKey (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisThreeStateGets or sets a value that indicates whether the check box supports three states.  
public Methodpaint (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodpaintContent (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodparse (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseEnter (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseLeave (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseMove (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodselectAll (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodsetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodtextAlignGets or sets the text alignment relative to the check box.  
public MethodtextFalseGets or sets the text in the cell when the cell's value is false.  
public MethodtextIndeterminateGets or sets the text in the cell when the cell's value is indeterminate (neither true nor false).  
public MethodtextTrueGets or sets the text in the cell when the cell's value is true.  
public MethodtoJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditorContainer (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateImeMode (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Check Box Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.