PrimitiveShape.ArrangeOverride Method

Provides the behavior for the Arrange portion of Silverlight layout pass. Classes can override this method to define their own Arrange pass behavior.

Namespace: Microsoft.Expression.Shapes
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)

Syntax

'Declaration
Protected Overrides Function ArrangeOverride ( _
    finalSize As Size _
) As Size
'Usage
Dim finalSize As Size
Dim returnValue As Size

returnValue = Me.ArrangeOverride(finalSize)
protected override Size ArrangeOverride (
    Size finalSize
)
protected:
virtual Size ArrangeOverride (
    Size finalSize
) override
protected Size ArrangeOverride (
    Size finalSize
)
protected override function ArrangeOverride (
    finalSize : Size
) : Size

Parameters

finalSize

The final area within the parent that this object should use to arrange itself and its children.

Return Value

The actual size used once the element is arranged in layout.

Remarks

PrimitiveShape will recompute the Geometry when it's invalidated and update the RenderedGeometry and GeometryMargin.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PrimitiveShape Class
PrimitiveShape Members
Microsoft.Expression.Shapes Namespace