EvaluationCell
returns a CellObject corresponding to the cell in which this function is being evaluated.
Details
- Evaluating EvaluationCell in an Input or Code cell returns the CellObject for that cell.
- Evaluating EvaluationCell from within a Dynamic, Button, or other control returns the CellObject containing the control.
- If the cell has been destroyed, or if there is no corresponding cell, EvaluationCell returns $Failed.
Examples
open allclose allBasic Examples (2)
Properties & Relations (2)
Controls in inline cells return the innermost inline cell containing the control:
ScheduledTask evaluations have no evaluation cell and return $Failed:
Wolfram Research (2012), EvaluationCell, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationCell.html.
Text
Wolfram Research (2012), EvaluationCell, Wolfram Language function, https://reference.wolfram.com/language/ref/EvaluationCell.html.
CMS
Wolfram Language. 2012. "EvaluationCell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EvaluationCell.html.
APA
Wolfram Language. (2012). EvaluationCell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EvaluationCell.html