共用方式為


RibbonGallery.ColumnCount 屬性 (2007 系統)

更新:2007 年 11 月

取得或設定這個 RibbonGallery 中的 Item 欄數。

命名空間:  Microsoft.Office.Tools.Ribbon
組件:  Microsoft.Office.Tools.Common.v9.0 (在 Microsoft.Office.Tools.Common.v9.0.dll 中)

語法

Public Property ColumnCount As Integer

Dim instance As RibbonGallery
Dim value As Integer

value = instance.ColumnCount

instance.ColumnCount = value
public int ColumnCount { get; set; }

屬性值

型別:System.Int32

這個 RibbonGallery 中的 Item 欄數。

備註

這個屬性只能在特定條件下於執行階段設定。如需詳細資訊,請參閱功能區物件模型概觀

使用權限

請參閱

參考

RibbonGallery 類別

RibbonGallery 成員

Microsoft.Office.Tools.Ribbon 命名空間

其他資源

功能區物件模型概觀