FontWeight.Equality Operator

July 28, 2014

Compares two instances of FontWeight for equality.

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

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

Parameters

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

Return Value

Type: System.Boolean
true if the values of FontWeight are equal; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft