IBoundsCheckableItem.CheckBounds

IBoundsCheckableItem.CheckBounds method

Checks if the item fits within the given container dimensions (inclusive).

public bool CheckBounds(double containerWidth, double containerHeight)
ParameterTypeDescription
containerWidthDoubleWidth of the container.
containerHeightDoubleHeight of the container.

Return Value

True if fits; otherwise, false.

See Also