Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FontWeight.Equals Method (FontWeight)


Determines whether the current FontWeight object is equal to a specified FontWeight object.

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

public bool Equals(
	FontWeight obj


Type: System.Windows.FontWeight

The instance of FontWeight to compare for equality.

Return Value

Type: System.Boolean

true if the two instances are equal; otherwise, false.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft