menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FontFamilyRecord - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FontFamilyRecord

    Contains the additional information about FontFamily. Used for displaying fonts in FontListBox and FontListComboBox

    Inheritance
    System.Object
    FontFamilyRecord
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class FontFamilyRecord

    Constructors

    FontFamilyRecord()

    Declaration
    public FontFamilyRecord()

    Properties

    Family

    Gets or sets System.Windows.Media.FontFamily of the record.

    Declaration
    public FontFamily Family { get; set; }
    Property Value
    Type Description
    System.Windows.Media.FontFamily

    Type: System.Windows.Media.FontFamily

    See Also
    System.Windows.Media.FontFamily

    Name

    Gets the name of the record.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Type: System.String

    See Also
    System.String

    Purpose

    Gets or sets the purpose of the record.

    Declaration
    public string Purpose { get; set; }
    Property Value
    Type Description
    System.String

    Type: System.String

    See Also
    System.String

    Type

    Gets or sets FontFamilyRecordType of the record.

    Declaration
    public FontFamilyRecordType Type { get; set; }
    Property Value
    Type Description
    FontFamilyRecordType

    Type: FontFamilyRecordType

    See Also
    FontFamilyRecordType

    Methods

    Equals(Object)

    Checks whether objects are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Current object for comparison.

    Returns
    Type Description
    System.Boolean

    True if objects are equal, otherwise false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code for the current Object.

    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(FontFamilyRecord, FontFamilyRecord)

    Operator which checks whether two records are equal.

    Declaration
    public static bool operator ==(FontFamilyRecord rec1, FontFamilyRecord rec2)
    Parameters
    Type Name Description
    FontFamilyRecord rec1

    First record to compare.

    FontFamilyRecord rec2

    Second record to compare.

    Returns
    Type Description
    System.Boolean

    True if two records are equal, otherwise false.

    Inequality(FontFamilyRecord, FontFamilyRecord)

    Operator which checks whether two records are different.

    Declaration
    public static bool operator !=(FontFamilyRecord rec1, FontFamilyRecord rec2)
    Parameters
    Type Name Description
    FontFamilyRecord rec1

    First record to compare.

    FontFamilyRecord rec2

    Second record to compare.

    Returns
    Type Description
    System.Boolean

    True if two records are not equal, otherwise false.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved