Viewbox.Stretch 屬性

定義

取得或設定 Stretch 模式,決定內容如何放入可用空間。

C#
public Stretch Stretch { get; set; }
XAML
<ViewBox Stretch="stretchMemberName"/>

屬性值

Stretch 模式,決定內容如何符合可用空間。 預設值為 Uniform

適用於

產品 版本
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6