Rect::Inequality Operator (Rect, Rect)
.NET Framework (current version)
Compares two rectangles for inequality.
Assembly: WindowsBase (in WindowsBase.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 rectangles do not have the same Location and Size values; otherwise, false.
This operation tests for object inequality.
In this comparison, two instances of Double::NaN are considered equal.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show:
