Share via


ImageVisual.Stretch Property

Definition

Gets or sets the stretch of the image.

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

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

Property Value

The stretch of the image.

Remarks

Important

This API exists only in Windows 10, version 1507 (Build 10240).

Applies to