Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equals Method (Int32Rect)
Collapse the table of content
Expand the table of content

Int32Rect.Equals Method (Int32Rect)

Determines whether the specified rectangle is equal to this rectangle.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public bool Equals(
	Int32Rect value


Type: System.Windows.Int32Rect

The rectangle to compare to the current rectangle.

Return Value

Type: System.Boolean
true if both rectangles have the same X, Y, Width, and Height as this rectangle; otherwise, false.

This operation tests for object equality.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft