Share via


CompositionViewBox.Stretch Property

Definition

Gets or sets a value that specifies how content fits into the available space.

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

void Stretch(CompositionStretch value);
public CompositionStretch Stretch { get; set; }
var compositionStretch = compositionViewBox.stretch;
compositionViewBox.stretch = compositionStretch;
Public Property Stretch As CompositionStretch

Property Value

An enumeration value that specifies how content fits into the available space. The default is Uniform.

Applies to