RibbonQuickAccessToolBarPanel.MeasureOverride Method
Measures the child elements in this RibbonQuickAccessToolBarPanel 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 ( _
availableSize As Size _
) As Size
protected override Size MeasureOverride(
Size availableSize
)
protected:
virtual Size MeasureOverride(
Size availableSize
) override
abstract MeasureOverride :
availableSize:Size -> Size
override MeasureOverride :
availableSize:Size -> Size
protected override function MeasureOverride(
availableSize : Size
) : Size
Parameters
- availableSize
Type: System.Windows.Size
The maximum size of the RibbonQuickAccessToolBarPanel.
Return Value
Type: System.Windows.Size
The desired size of the RibbonQuickAccessToolBarPanel.
.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.