RibbonBox Class (2007 System)
Arranges and aligns controls on a custom Ribbon.
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
The automatically aligns Ribbon controls as you drop them onto it.
Use the BoxStyle property to arrange child controls horizontally (default) or vertically. If controls are set to be arranged vertically and there is not enough space, they are arranged in multiple columns.
Some properties of this control can be set only before the Ribbon is loaded into the Office application. For information about setting these properties, see Ribbon Object Model Overview.