RibbonFactory.CreateRibbonBox Method

Definition

Creates a RibbonBox object that arranges and aligns controls on a custom Ribbon.

public:
 Microsoft::Office::Tools::Ribbon::RibbonBox ^ CreateRibbonBox();
public Microsoft.Office.Tools.Ribbon.RibbonBox CreateRibbonBox ();
abstract member CreateRibbonBox : unit -> Microsoft.Office.Tools.Ribbon.RibbonBox
Public Function CreateRibbonBox () As RibbonBox

Returns

A Ribbon box that arranges and aligns controls on a custom Ribbon.

Remarks

The RibbonBox automatically aligns Ribbon controls that you add to the RibbonBox.

Applies to