Edit

Bagikan melalui


RibbonMenuItemsPanel.MeasureOverride(Size) Method

Definition

Measures the child elements in this RibbonMenuItemsPanel 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 RibbonMenuItemsPanel.

Returns

The desired size of the RibbonMenuItemsPanel.

Applies to