Export (0) Print
Expand All

Thickness.Equals Method (Thickness)

Compares this Thickness structure to another Thickness structure for equality.

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

public bool Equals (
	Thickness thickness
)
public final boolean Equals (
	Thickness thickness
)
public final function Equals (
	thickness : Thickness
) : boolean
You cannot use methods in XAML.

Parameters

thickness

An instance of Thickness to compare for equality.

Return Value

true if the two instances of Thickness are 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.

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

Community Additions

ADD
Show:
© 2015 Microsoft