Inequality Operator
Collapse the table of content
Expand the table of content

Thickness.Inequality Operator (Thickness, Thickness)


Compares two Thickness structures for inequality.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static bool operator !=(
	Thickness t1,
	Thickness t2


Type: System.Windows.Thickness

The first structure to compare.

Type: System.Windows.Thickness

The other structure to compare.

Return Value

Type: System.Boolean

true if the two instances of Thickness are not equal; otherwise, false.

Testing for equality or inequality on two floating-point values that are logically equivalent might fail because of precision errors that can accumulate as the values are operated on.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft