AdornerDecorator.MeasureOverride Method (Size)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Measures the size required for child elements and determines a size for the AdornerDecorator.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override Size MeasureOverride(
	Size constraint


Type: System.Windows.Size

A size to constrain the AdornerDecorator to.

Return Value

Type: System.Windows.Size

A Size object representing the amount of layout space needed by the AdornerDecorator.

This method overrides MeasureOverride.

.NET Framework
Available since 3.0
Return to top