Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

Item

Item[expr, options]
represents an item within constructs such as Grid, PopupMenu or TabView that displays with expr as the content, and with the specified options applied to the region containing expr.
  • The following options can typically be given:
AlignmentAutomaticalignment within the containing region
BackgroundNonebackground color for the containing region
FrameFalsewhether to include a frame around the containing region
FrameStyleAutomaticstyle for the frame
ItemSizeAutomaticoverall 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.
Put a frame around the first element in a grid:
Draw the first element of the grid with a red background:
Put a frame around the first element in a grid:
In[1]:=
Click for copyable input
Out[1]=
 
Draw the first element of the grid with a red background:
In[1]:=
Click for copyable input
Out[1]=
Draw a frame on certain faces of the item:
Item will apply its styles throughout the entire spanning area:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team