is an option for selections that specifies whether an object represented by a StyleBox should be displayed on the screen or replaced by blank space.


ShowContents
is an option for selections that specifies whether an object represented by a StyleBox should be displayed on the screen or replaced by blank space.
Details

- With the default setting ShowContents->True, a StyleBox object is displayed on the screen like any other input.
- With the setting ShowContents->False, any StyleBox object is not displayed on the screen. It is replaced by an amount of blank space equal to the width of the expression. This feature is useful for adding blank space of an exact length, such as for aligning text appearing on successive lines of a cell.
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), ShowContents, Wolfram Language function, https://reference.wolfram.com/language/ref/ShowContents.html.
CMS
Wolfram Language. 1999. "ShowContents." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ShowContents.html.
APA
Wolfram Language. (1999). ShowContents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ShowContents.html
BibTeX
@misc{reference.wolfram_2025_showcontents, author="Wolfram Research", title="{ShowContents}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/ShowContents.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_showcontents, organization={Wolfram Research}, title={ShowContents}, year={1999}, url={https://reference.wolfram.com/language/ref/ShowContents.html}, note=[Accessed: 08-August-2025]}