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

适用于