RibbonFactory.CreateRibbonBox Method
Creates a RibbonBox object that arranges and aligns controls on a custom Ribbon.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonBox As RibbonBox
RibbonBox CreateRibbonBox()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonBox
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.