共用方式為


RibbonMenuItemsPanel.MeasureOverride(Size) 方法

定義

測量在 ArrangeOverride(Size) 傳遞期間準備排列子項目之 RibbonMenuItemsPanel 的子項目。

protected:
 override System::Windows::Size MeasureOverride(System::Windows::Size availableSize);
protected override System.Windows.Size MeasureOverride (System.Windows.Size availableSize);
override this.MeasureOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function MeasureOverride (availableSize As Size) As Size

參數

availableSize
Size

RibbonMenuItemsPanel 的大小上限。

傳回

所需的 RibbonMenuItemsPanel 大小。

適用於