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

Represents FontFamilyInfo class.

Definition

Namespace:Telerik.WinForms.Controls.Spreadsheet

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public class FontFamilyInfo : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseFontFamilyInfo

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.OnPropertyChanged(PropertyChangedEventArgs)NotifyPropertyChangedBase.PropertyChanged

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

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.

Overrides: object.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: object.GetHashCode()