RibbonGalleryItemsPanel.MeasureOverride(Size) 方法

定义

测量此 RibbonGalleryItemsPanel 中的子元素,以便准备在 ArrangeOverride(Size) 传递中排列它们。

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

RibbonGalleryItemsPanel 的最大大小。

返回

Size

所需的 RibbonGalleryItemsPanel 大小。

适用于