Прочитај на енглеском Уреди

Делите путем


Viewbox.ArrangeOverride(Size) Method

Definition

Arranges the content of a Viewbox element.

C#
protected override System.Windows.Size ArrangeOverride(System.Windows.Size arrangeSize);

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

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also