'Declaration Public Property ThreeState As Boolean
'Usage Dim instance As CheckBoxCellType Dim value As Boolean instance.ThreeState = value value = instance.ThreeState
public bool ThreeState {get; set;}
'Declaration Public Property ThreeState As Boolean
'Usage Dim instance As CheckBoxCellType Dim value As Boolean instance.ThreeState = value value = instance.ThreeState
public bool ThreeState {get; set;}
Check boxes can be either two-state (with true and false) or three-state (with true, false, and indeterminate).
If you want to allow the check box to be three-state, set the value to true.
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