ReadonlyisFor runtime type checking.
ReadonlyisFor runtime type checking.
Add Listeners.
Optionaloptions: IListener.OptionsSimilar to delete but cleans resources and can't be undone.
Deletes the anchored item.
OptionalgetOptionalgetThe name of the anchor or null if it has none.
Returns the first range the control covers.
See IAnchored.getRanges for all of them. To change where a control is, use ICellRange.setControl.
Returns the ranges this object is anchored to, in authored order.
Optionaloptions: ICellRange.GetRangeOptionsnull. An item whose last range was removed by a row/column delete returns an
invalid ranges — ask ICellRanges.isInvalid, the same contract as
ITable.getDataRange.getRange() for it, but data validations, conditional formats and protected ranges are
authored as several, and any single range can become several when a delete splits it.Returns if the model has been closed
Returns if the model has been deleted
If the anchor is unable to be modified.
The control as JSON: its type and any properties of that type.
A control drawn in the cells of a range, such as a checkbox.
Remarks
A cell control decorates the cell's value; it never holds one. A checkbox draws
TRUEas checked andFALSEor blank as unchecked, and a click writes the boolean into the cell, where formulas read it as any other value. Excel's model is the same: the checkbox is a cell format, and Clear Formats removes it while the value stays.2or"true"draws2ortrue, as in Excel.Range.setControl/getControl.