Share via


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

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

See Also

Reference

AdornerPanel Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors