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

Represents FontFamilyInfo class.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class FontFamilyInfo : NotifyPropertyChangedBase

Inheritance: objectFontFamilyInfo

Constructors

Initializes a new instance of the FontFamilyInfo class.

C#
public FontFamilyInfo(FontFamily fontFamily, ThemeFontType? themeFontType = null)
Parameters:fontFamilyFontFamily

The font family.

themeFontTypeThemeFontType?

Type of the theme font.

Properties

FontFamily

FontFamily

Gets or sets the font family.

C#
public FontFamily FontFamily { get; set; }
Property Value:

The font family.

ThemeFontType

ThemeFontType?

Gets the ThemeFontType.

C#
public ThemeFontType? ThemeFontType { get; }
Property Value:

The ThemeFontType.

Methods

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.

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.