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
- constraint
Type: System.Windows.Size
The maximum size of the RibbonGroup.
Return Value
Type: System.Windows.Size
The desired size of the RibbonGroup.
.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.