IBoundsCheckableItem.CheckBounds

IBoundsCheckableItem.CheckBounds 方法

检查项目是否适合给定的容器尺寸(包括在内)。

public bool CheckBounds(double containerWidth, double containerHeight)
参数类型描述
containerWidthDouble容器的宽度。
containerHeightDouble容器的高度。

返回值

如果适合则为真;否则为假。

另请参阅