Udostępnij za pośrednictwem


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

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace