Spread Windows Forms 12.0 Product Documentation
TextIndeterminate Property (CheckBoxCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > CheckBoxCellType Class : TextIndeterminate Property
Gets or sets the indeterminate state text.
Syntax
'Declaration
 
Public Property TextIndeterminate As String
'Usage
 
Dim instance As CheckBoxCellType
Dim value As String
 
instance.TextIndeterminate = value
 
value = instance.TextIndeterminate
public string TextIndeterminate {get; set;}

Property Value

String containing the text for the indeterminate state
Remarks
This is the text that appears next to the check box when the box is grayed out representing the indeterminate state. If this is not defined, the control displays the Caption text for the check box. This third state (true and false are the first two) is only used when the ThreeState property is set to true; otherwise only the other two states are used.
Example
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
See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members