2.3.9.4 Checkbox
This type is identified by having a CT_FeaturePropertyBag (section 2.6.233) type attribute of “Checkbox” and specifies a checkbox Cell Control.
A type Checkbox feature property bag MAY contain the following key value pair (KVP):
Value Type |
Key Name “k” |
Value |
---|---|---|
CT_FeaturePropertyBag (section 2.6.233) i element of type CT_IntFeatureProperty (section 2.6.235).
|
“default” |
Value represents the default value state of the checkbox. There are 3 supported values: 0, 1, 2.
At 0, The value represents false. When the checkbox is inserted in a cell, a value of FALSE will be written to the cell.
At 1, the value represents true. When the checkbox is inserted in a cell, a value of TRUE will be written to the cell.
At 2, the value represents empty. When the checkbox is inserted in a cell, the cell value will be cleared. |
If the key “default” is absent, then it is treated as having a value of 0, representing false.
Each Checkbox is referenced from the value of the key “CellControl” in an XFControls (section 2.3.9.3) feature property bag.