This documentation is archived and is not being maintained.

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.

  NameDescription
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
Show: