Item
Item[expr,options]
represents an item within constructs such as Grid, Overlay, and Manipulate that displays with expr as the content, and with the specified options applied to the region containing expr.
Details and Options
- The following options can typically be given:
-
Alignment Automatic alignment within the containing region Background None background color for the containing region BaseStyle {} base style specifications for the item ControlPlacement Automatic when used in Manipulate, where controls should be placed Frame False whether to include a frame around the containing region FrameStyle Automatic style for the frame ItemSize Automatic overall size allowed for the item - Frame->True specifies that a frame should be drawn around all edges of the item.
- Frame->{bottom,left,top,right} specifies what should be drawn on each edge of the item.
- Item effectively modifies the properties of a parent function which supports Item. If Item is not used inside of a function that supports it, the properties specified by Item will not be visible.
Examples
open allclose allBasic Examples (2)
Scope (3)
Draw a frame on certain faces of the item:
Center an annotation of a Manipulate:
Set alignments of individual objects in an Overlay:
Generalizations & Extensions (3)
Options (7)
Possible Issues (2)
If Item is not the top-most item in the child of a function that supports Item, it will not work:
In most cases, it is easy to move Item to be the top-most child:
The background of an Item can blend with the ambient background color:
However, the background does not blend with a background specified directly to the parent Grid:
Text
Wolfram Research (2007), Item, Wolfram Language function, https://reference.wolfram.com/language/ref/Item.html (updated 2010).
CMS
Wolfram Language. 2007. "Item." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2010. https://reference.wolfram.com/language/ref/Item.html.
APA
Wolfram Language. (2007). Item. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Item.html