Viewbox.ArrangeOverride(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.