編輯

共用方式為


Shape.ArrangeOverride(Size) Method

Definition

Arranges a Shape by evaluating its RenderedGeometry and Stretch properties.

protected:
 override System::Windows::Size ArrangeOverride(System::Windows::Size finalSize);
protected override System.Windows.Size ArrangeOverride (System.Windows.Size finalSize);
override this.ArrangeOverride : System.Windows.Size -> System.Windows.Size
Protected Overrides Function ArrangeOverride (finalSize As Size) As Size

Parameters

finalSize
Size

The final evaluated size of the Shape.

Returns

The final size of the arranged Shape element.

Remarks

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

Applies to