Share via


Rectangle.Contains Method

Determines whether a Point is located within a given Rectangle structure.

Syntax

  public bool Contains(
  Point  
  point
);

Parameters

point

Microsoft.MediaCenter.UI.Point.  A Point structure.

Return Value

System.Booleantrue if the point is within the rectangle; otherwise, false.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also