Rect Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Rect type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Contains Indicates whether the rectangle described by the Rect contains the specified point.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Indicates whether the specified object is equal to the current Rect. (Overrides ValueType.Equals(Object).)
Public methodSupported by Silverlight for Windows Phone Equals(Rect) Indicates whether the specified Rect is equal to the current Rect.
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Creates a hash code for the Rect. (Overrides ValueType.GetHashCode().)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone Intersect Finds the intersection of the rectangle represented by the current Rect and the rectangle represented by the specified Rect, and stores the result as the current Rect.
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToString() Returns a string representation of the Rect structure. (Overrides ValueType.ToString().)
Public methodSupported by Silverlight for Windows Phone ToString(IFormatProvider) Returns a string representation of the rectangle by using the specified format provider.
Public methodSupported by Silverlight for Windows Phone Union(Point) Expands the rectangle represented by the current Rect exactly enough to contain the specified point.
Public methodSupported by Silverlight for Windows Phone Union(Rect) Expands the rectangle represented by the current Rect exactly enough to contain the specified rectangle.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows Phone IFormattable.ToString Infrastructure. For a description of this member, see ToString.

Top