CompositionViewBox.VerticalAlignmentRatio 属性

定义

获取或设置视图框的垂直对齐比。

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

void VerticalAlignmentRatio(float value);
public float VerticalAlignmentRatio { get; set; }
var single = compositionViewBox.verticalAlignmentRatio;
compositionViewBox.verticalAlignmentRatio = single;
Public Property VerticalAlignmentRatio As Single

属性值

Single

float

视图框的垂直对齐比。

默认值设置为 0.5。

适用于