New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.Layout

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FontFamilyInfo : FontFamily

Inheritance: objectFontFamilyFontFamilyInfo

Inherited Members FontFamily.Source

Constructors

Initializes a new instance of the FontFamilyInfo class.

C#
public FontFamilyInfo(FontFamily fontFamily, string displayName = null)
Parameters:fontFamilyFontFamily

The font family.

displayNamestring

The display name.

Properties

Gets the display name.

C#
public string DisplayName { get; }
Property Value:

The display name.

Methods

C#
public bool Equals(FontFamilyInfo value)
Parameters:valueFontFamilyInfoReturns:

bool

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

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: FontFamily.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: FontFamily.GetHashCode()

Returns a string representation of this FontFamilyInfo.

C#
public override string ToString()
Returns:

string

The input font family string.

Overrides: FontFamily.ToString()