Rect.Contains Method

Indicates whether the rectangle contains the specified point or rectangle.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Contains(Point) Indicates whether the rectangle contains the specified point.
Public method Contains(Rect) Indicates whether the rectangle contains the specified rectangle.
Public method Contains(Double, Double) Indicates whether the rectangle contains the specified x-coordinate and y-coordinate.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft