This documentation is archived and is not being maintained.

Typeface.Equals Method

Gets a value that indicates whether the current typeface and the specified typeface have the same FontFamily, Style, Weight, Stretch, and fallback font values.

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

public override bool Equals(
	Object o
)
You cannot use methods in XAML.

Parameters

o
Type: System.Object

The Typeface to compare.

Return Value

Type: System.Boolean
true if o is equal to the current Typeface object; otherwise, false. If o is not a Typeface object, false is returned.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: