本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

RibbonBox.BoxStyle 屬性

 

取得 RibbonBoxStyle 值,指出放在此 RibbonBox 的控制項要採水平或垂直方式放置。

命名空間:   Microsoft.Office.Tools.Ribbon
組件:  Microsoft.Office.Tools.Common (於 Microsoft.Office.Tools.Common.dll)

RibbonBoxStyle BoxStyle { get; set; }

屬性值

Type: Microsoft.Office.Tools.Ribbon.RibbonBoxStyle

RibbonBoxStyle 列舉值,指出此 BoxStyle 如何排列其上放置的控制項。

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

The Ribbon Designer arranges controls dropped onto a T:Microsoft.Office.Tools.Ribbon.RibbonBox differently depending on the value of the P:Microsoft.Office.Tools.Ribbon.RibbonBox.BoxStyle property:

  • Horizontal specifies that controls are placed beside one another to the left and right.

  • Vertical specifies that controls are placed above and below one another. If there is not enough room to display all the controls on this RibbonBox in one column, additional columns are used.

回到頁首
顯示: