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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft