CheckBoxCellType checkbox = new CheckBoxCellType(); checkbox.TrueContent = "Yes"; checkbox.FalseContent = "No"; checkbox.IndeterminateContent = "Unknown"; checkbox.IsThreeState = true; gcSpreadGrid1.Columns[0].CellType = checkbox;
Dim checkbox As New CheckBoxCellType() checkbox.TrueContent = "Yes" checkbox.FalseContent = "No" checkbox.IndeterminateContent = "Unknown" checkbox.IsThreeState = True gcSpreadGrid1.Columns(0).CellType = checkbox