AdornerPanel.MeasureOverride Method
This member overrides FrameworkElement.MeasureOverride(Size), and more complete documentation might be available in that topic.
Measure adorner.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.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 available size the element can occupy.
Return Value
Type: System.Windows.Size
A Size object that represents the size of the element.
Remarks
The default behavior is to size to match the adorned element.
.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.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace