Windows.UI.Xaml.Controls.Viewbox.StretchDirection

June 22, 2022 ยท View on GitHub

-description

Gets or sets the StretchDirection, which determines how scaling is applied to the contents of a Viewbox.

-xaml-syntax

<ViewBox StretchDirection="stretchDirectionMemberName" />

-xaml-values

stretchDirectionMemberName
stretchDirectionMemberNameA named constant of the StretchDirection enumeration, such as Both.
## -property-value A [StretchDirection](stretchdirection.md), which determines how scaling is applied to the contents of a [Viewbox](viewbox.md). The default is **Both**.

-remarks

-examples

-see-also