共用方式為


RibbonMenu.ControlSize 屬性

定義

取得或設定功能表的大小。

public:
 property Microsoft::Office::Core::RibbonControlSize ControlSize { Microsoft::Office::Core::RibbonControlSize get(); void set(Microsoft::Office::Core::RibbonControlSize value); };
public Microsoft.Office.Core.RibbonControlSize ControlSize { get; set; }
member this.ControlSize : Microsoft.Office.Core.RibbonControlSize with get, set
Public Property ControlSize As RibbonControlSize

屬性值

代表功能表大小的 Microsoft.Office.Core.RibbonControlSize。

備註

如果功能表巢狀在另一個功能表中,這個屬性就沒有任何作用。 ControlSize巢狀選單的 屬性一律設定為 Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular

若要讓巢狀選單顯示較大,請將父選單的 屬性設定 ItemSizeMicrosoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge

適用於