Export (0) Print
Expand All

RibbonBox Class (2007 System)

Arranges and aligns controls on a custom Ribbon.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

[ToolboxBitmapAttribute(typeof(RibbonLabel), "RibbonBox.bmp")]
public sealed class RibbonBox : RibbonControl

The RibbonBox 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft