編輯

共用方式為


RibbonGalleryItemsPanel.MeasureOverride(Size) Method

Definition

Measures the child elements in this RibbonGalleryItemsPanel in preparation of arranging them during the ArrangeOverride(Size) pass.

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

Parameters

availableSize
Size

The maximum size of the RibbonGalleryItemsPanel.

Returns

The desired size of the RibbonGalleryItemsPanel.

Applies to