This documentation is archived and is not being maintained.

Int32Rect.op_Inequality Method

Compares two rectangles for inequality.

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

public static bool operator != (
	Int32Rect int32Rect1,
	Int32Rect int32Rect2
You cannot use methods in XAML.



The first rectangle to compare.


The second rectangle to compare.

Return Value

false if int32Rect1 and int32Rect2 have the same X, Y, Width, and Height; otherwise, if all of these values are the same, then true.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0