Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Measures the child elements in this RibbonMenuItemsPanel in preparation of arranging them during the ArrangeOverride pass.
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Function MeasureOverride ( _
constraint As Size _
) As Size
protected override Size MeasureOverride(
Size constraint
)
protected:
virtual Size MeasureOverride(
Size constraint
) override
abstract MeasureOverride :
constraint:Size -> Size
override MeasureOverride :
constraint:Size -> Size
protected override function MeasureOverride(
constraint : Size
) : Size
Parameters
- constraint
Type: System.Windows.Size
The maximum size of the RibbonMenuItemsPanel.
Return Value
Type: System.Windows.Size
The desired size of the RibbonMenuItemsPanel.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.