StretchDirection

June 22, 2022 · View on GitHub

-description

Defines constants that specify the direction that content is scaled.

-xaml-syntax

<object property="enumMemberName"/>

-enum-fields

-field UpOnly:0

The content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed.

-field DownOnly:1

The content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed.

-field Both:2

The content stretches to fit the parent according to the Stretch property.

-remarks

-examples

-see-also