Spread Windows Forms 12.0 Product Documentation
CheckBoxCellType Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > CheckBoxCellType Class > CheckBoxCellType Constructor : CheckBoxCellType Constructor()
Creates a new check box cell with default settings.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New CheckBoxCellType()
public CheckBoxCellType()
Example
This example creates a cell of this type, sets properties of this cell type, and assigns this cell type to a cell.
FarPoint.Win.Spread.CellType.CheckBoxCellType ckbxcell = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
ckbxcell.ThreeState = true;
ckbxcell.TextTrue ="Checked";
ckbxcell.TextFalse ="Unchecked";
ckbxcell.TextIndeterminate = "Not Sure";
fpSpread1.Sheets[0].Cells[1,2].CellType = ckbxcell;
Dim ckbxcell As New FarPoint.Win.Spread.CellType.CheckBoxCellType()
ckbxcell.ThreeState = True
ckbxcell.TextTrue = "Checked"
ckbxcell.TextFalse = "Unchecked"
ckbxcell.TextIndeterminate = "Not Sure"
fpSpread1.Sheets(0).Cells(1,2).CellType = ckbxcell
See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members
Overload List