Rect.Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Indicates whether the rectangle described by the Rect contains the specified point.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- point
- Type: System.Windows.Point
The point to check.
Return Value
Type: System.Booleantrue if the rectangle described by the Rect contains the specified point; otherwise, false.
Show: