'Declaration Public Property TextTrue As String
'Usage Dim instance As CheckBoxCellType Dim value As String instance.TextTrue = value value = instance.TextTrue
public string TextTrue {get; set;}
'Declaration Public Property TextTrue As String
'Usage Dim instance As CheckBoxCellType Dim value As String instance.TextTrue = value value = instance.TextTrue
public string TextTrue {get; set;}
This example sets the properties of a three-state check box in a cell and specifies the text for each state.
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