|Visual Basic (Declaration)|
Public Class CheckBoxCellType Inherits BaseCellType Implements ISerializeSupport, ICellType, IEditor, IFormatter, INotifyEditorValueChanged, IPdfSupport, IPropertyAllowedSupport, IRenderer, IReuseEditorControl, IReuseEditorControl2
|Visual Basic (Usage)||Copy Code|
A check box cell provides a check box that can show two or three states. For a two-state check box, the box is either checked or unchecked. For a three-state check box, the box can be either checked, unchecked or indeterminate (gray).
Check box cells can display text alongside the check boxes as well as a caption for the cell. You can customize the colors in the cells, including the color of the border, text, and background.
Clicking anywhere in the cell clicks the check box.
Until the check box is set (checked or unchecked), the check box is not set and has a value of null.
For more information about setting the cell type, refer to Setting a Check Box Cell.
For more information about the behavior of contents in a cell of this type, refer to Understanding Cell Type Effects on Displaying Data.
For more information on the corresponding event when a user clicks on an option, refer to the FpSpread.ButtonClicked event.