Windows Dev Center

FontStyle.Equality Operator

Compares two instances of FontStyle for equality.

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

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

Parameters

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

Return Value

Type: System.Boolean
true if the specified FontStyle objects are equal; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft