Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator
Collapse the table of content
Expand the table of content

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


Type: System.Windows.FontStyle
The first instance of FontStyle to compare.
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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft