Share via


StackLayout.LayoutChildren(Double, Double, Double, Double) 方法

定義

放置 StackLayout 子系並調整其大小。

protected override void LayoutChildren (double x, double y, double width, double height);
override this.LayoutChildren : double * double * double * double -> unit

參數

x
System.Double

值,代表子區域週框方塊的 X 座標。

y
System.Double

值,代表子區域週框方塊的 Y 座標。

width
System.Double

值,代表子區域週框方塊的寬度。

height
System.Double

值,代表子區域週框方塊的高度。

備註

想要變更 StackLayout 預設行為的實作者應該覆寫此方法。 建議仍呼叫基底方法,並修改其計算結果。

適用於