AdornerDecorator.MeasureOverride Method (Size)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: