Share via


Viewbox.Stretch Property

Definition

Gets or sets the Stretch mode, which determines how content fits into the available space.

public:
 property Stretch Stretch { Stretch get(); void set(Stretch value); };
Stretch Stretch();

void Stretch(Stretch value);
public Stretch Stretch { get; set; }
var stretch = viewbox.stretch;
viewbox.stretch = stretch;
Public Property Stretch As Stretch
<ViewBox Stretch="stretchMemberName"/>

Property Value

A Stretch mode, which determines how content fits in the available space. The default is Uniform.

Applies to