Visual Basic (Declaration) | |
---|---|
Public Class CheckBoxCellType Inherits BaseCellType Implements FarPoint.Win.ISerializeSupport, ICellType, IEditor, IFormatter, INotifyEditorValueChanged, IPdfSupport, IPropertyAllowedSupport, IRenderer, IReuseEditorControl, IReuseEditorControl2 |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CheckBoxCellType |
C# | |
---|---|
public class CheckBoxCellType : BaseCellType, FarPoint.Win.ISerializeSupport, ICellType, IEditor, IFormatter, INotifyEditorValueChanged, IPdfSupport, IPropertyAllowedSupport, IRenderer, IReuseEditorControl, IReuseEditorControl2 |
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.
System.Object
FarPoint.Win.Spread.CellType.BaseCellType
FarPoint.Win.Spread.CellType.CheckBoxCellType
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
CheckBoxCellType MembersFarPoint.Win.Spread.CellType Namespace
ButtonClicked Event
User-Task Documentation
Setting a Check Box CellWorking with Graphical Cell Types