Share via


RibbonGroup.MeasureOverride Method

Measures the child elements in this RibbonGroup in preparation of arranging them during the ArrangeOverride pass.

Namespace:  Microsoft.Windows.Controls.Ribbon
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 RibbonGroup.

.NET Framework Security

See Also

Reference

RibbonGroup Class

Microsoft.Windows.Controls.Ribbon Namespace