-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.RectHelper.Contains(Windows.Foundation.Rect,Windows.Foundation.Point) |
winrt method |
Returns whether a given Point is within the bounds of a given Rect, for a shared coordinate reference. C# and Microsoft Visual Basic code should use Rect.Contains instead.
The Rect to evaluate.
The Point to check for containment.
true if point is within the target bounds; otherwise, false.