ParentCell
ParentCell[obj]
returns the CellObject that contains obj.
Details
- obj may be a BoxObject or CellObject.
- ParentCell returns $Failed if obj refers to an object that does not exist.
- If obj is a CellObject representing an inline cell, then ParentCell will return the CellObject corresponding to that cell's immediate parent. If obj points to a top-level cell, then ParentCell returns $Failed.
Examples
open allclose allBasic Examples (1)
Create an inline cell with a variable set to the CellObject:
Return the CellObject for the parent cell:
Properties & Relations (1)
ParentCell of EvaluationBox is equivalent to EvaluationCell:
Wolfram Research (2014), ParentCell, Wolfram Language function, https://reference.wolfram.com/language/ref/ParentCell.html.
Text
Wolfram Research (2014), ParentCell, Wolfram Language function, https://reference.wolfram.com/language/ref/ParentCell.html.
CMS
Wolfram Language. 2014. "ParentCell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ParentCell.html.
APA
Wolfram Language. (2014). ParentCell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ParentCell.html