Share via


RibbonGroupsPanel.MeasureOverride Method

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

Return Value

Type: System.Windows.Size
The desired size of the RibbonGroupsPanel.

.NET Framework Security

See Also

Reference

RibbonGroupsPanel Class

Microsoft.Windows.Controls.Ribbon.Primitives Namespace