Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Viewbox.ArrangeOverride Method

Arranges the content of a Viewbox element.

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

'Declaration
Protected Overrides Function ArrangeOverride ( _
	arrangeSize As Size _
) As Size

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