This documentation is archived and is not being maintained.

Int32Rect.Inequality Operator

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.

Parameters

int32Rect1
Type: System.Windows.Int32Rect

The first rectangle to compare.

int32Rect2
Type: System.Windows.Int32Rect

The second rectangle to compare.

Return Value

Type: System.Boolean
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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: