共用方式為


RibbonGalleryCategoriesPanel.MeasureOverride(Size) 方法

定義

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

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

RibbonGalleryCategoriesPanel 的大小上限。

傳回

所需的 RibbonGalleryCategoriesPanel 大小。

適用於