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 默认行为的实现者应重写此方法。 建议仍调用基方法并修改其计算结果。

适用于