Share via


Viewbox.StretchDirection 屬性

定義

取得或設定 StretchDirection,決定調整如何套用至 Viewbox 的內容。

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

void StretchDirection(StretchDirection value);
public StretchDirection StretchDirection { get; set; }
var stretchDirection = viewbox.stretchDirection;
viewbox.stretchDirection = stretchDirection;
Public Property StretchDirection As StretchDirection
<ViewBox StretchDirection="stretchDirectionMemberName" />

屬性值

StretchDirection,決定調整如何套用至 Viewbox 的內容。 默認值為 [兩者]。

適用於