Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ArrangeOverride Method

Viewbox.ArrangeOverride Method

Arranges the content of a Viewbox element.

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

protected override Size ArrangeOverride(
	Size arrangeSize
)

Parameters

arrangeSize
Type: System.Windows.Size

The Size this element uses to arrange its child elements.

Return Value

Type: System.Windows.Size
Size that represents the arranged size of this Viewbox element and its child elements.

Viewbox always sets its Child to the DesiredSize. It then computes and applies a transformation from that Size to the available space. Viewbox determines available space by subtracting the margin of its Child from the input Size of its elements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft