Redigera

Dela via


Viewbox.ArrangeOverride(Size) Method

Definition

Arranges the content of a Viewbox element.

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

Parameters

arrangeSize
Size

The Size this element uses to arrange its child elements.

Returns

Size that represents the arranged size of this Viewbox element and its child elements.

Remarks

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.

Applies to

See also