Viewbox.StretchDirection 属性

定义

获取或设置 StretchDirection,它确定如何对 视图框的内容应用缩放。

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,它确定如何对视图框的内容应用缩放。 默认值为 “两者”。

适用于