Shape.Stretch Property

Definition

Gets or sets a Stretch enumeration value that describes how the shape fills its allocated space.

C#
public Stretch Stretch { get; set; }
XAML
<object Stretch="stretchvalueName"/>

Property Value

One of the Stretch enumeration values. The default value at run time depends on the type of Shape.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6