共用方式為


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。

適用於