Shape.ArrangeOverride Method (Size)


Arranges a Shape by evaluating its RenderedGeometry and Stretch properties.

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

Protected Overrides Function ArrangeOverride (
	finalSize As Size
) As Size


Type: System.Windows.Size

The final evaluated size of the Shape.

Return Value

Type: System.Windows.Size

The final size of the arranged Shape element.

If finalsize is an invalid value (a null reference or empty), nothing is drawn on the screen.

.NET Framework
Available since 3.0
Return to top