Rect.Contains Method

Indicates whether the rectangle described by the Rect contains the specified point.

Namespace:  Windows.Foundation
Assembly:  System.Runtime.WindowsRuntime (in System.Runtime.WindowsRuntime.dll)

public bool Contains(
	Point point
)

Parameters

point
Type: Windows.Foundation.Point

The point to check.

Return Value

Type: System.Boolean
true if the rectangle described by the Rect contains the specified point; otherwise, false.

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft