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

FontWeight.Inequality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Evaluates two instances of FontWeight to determine inequality.

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

public static bool operator !=(
	FontWeight left,
	FontWeight right


Type: System.Windows.FontWeight
The first instance of FontWeight to compare.
Type: System.Windows.FontWeight
The second instance of FontWeight to compare.

Return Value

Type: System.Boolean
false if values of left are equal to right; otherwise, true.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft