Rect.Inequality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Compares two Rect structures for inequality.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- rect1
- Type: System.Windows.Rect
The first rectangle to compare.
- rect2
- Type: System.Windows.Rect
The second rectangle to compare.
Return Value
Type: System.Booleantrue if the Rect structures do not have the same x,y,width,height property values; otherwise, false.
In this comparison, two instances with all properties of Double.NaN are considered equal.
Show:
Note: