Export (0) Print
Expand All

FontWeight.Equality Operator

Compares two instances of FontWeight for equality.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.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 instances of FontWeight are equal; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft