FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > CheckBoxCellType クラス : TextTrue プロパティ |
'Declaration Public Property TextTrue As String
'使用法 Dim instance As CheckBoxCellType Dim value As String instance.TextTrue = value value = instance.TextTrue
public string TextTrue {get; set;}
次のサンプルコードは、セルの3値式チェックボックスのプロパティを設定し、各状態のテキストを指定します。
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