共用方式為


CompositionViewBox.Stretch 屬性

定義

取得或設定值,指定內容如何放入可用空間。

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

屬性值

列舉值,指定內容如何放入可用空間。 預設值為 Uniform

適用於