共用方式為


RibbonBoxStyle Enumeration

Specifies whether controls are aligned vertically or horizontally on a RibbonBox.

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

Syntax

'Declaration
Public Enumeration RibbonBoxStyle
public enum RibbonBoxStyle

Members

Member name Description
Horizontal Controls are aligned to the left and right of one other.
Vertical Controls are aligned above and below one another. If there is not enough room to display the controls in one column, the remaining controls are displayed in additional columns.

See Also

Reference

Microsoft.Office.Tools.Ribbon Namespace

RibbonBox