skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ThemeFont

Theme font entry pairing a font family with a language group for major/minor roles.

Inheritance
System.Object
ThemeFont
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll

Syntax

public class ThemeFont

Constructors

ThemeFont(String, FontLanguageType)

Initializes a new instance of the ThemeFont class from a family name and language group.

Declaration
public ThemeFont(string fontName, FontLanguageType fontLanguageType)
Parameters
System.String fontName

Name of the font.

FontLanguageType fontLanguageType

Type of the font language.

ThemeFont(FontFamily, FontLanguageType)

Initializes a new instance of the ThemeFont class with a font family and language group.

Declaration
public ThemeFont(FontFamily fontFamily, FontLanguageType fontLanguageType)
Parameters
System.Windows.Media.FontFamily fontFamily

The font family.

FontLanguageType fontLanguageType

The type of font language.

Properties

FontFamily

Gets the font family assigned to this theme font entry.

Declaration
public FontFamily FontFamily { get; }
Property Value
System.Windows.Media.FontFamily

The font family.

FontLanguageType

Gets the language group this theme font targets.

Declaration
public FontLanguageType FontLanguageType { get; }
Property Value
FontLanguageType

The type of font language.

Methods

Equals(Object)

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

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

The object to compare with the current instance.

Returns
System.Boolean

True if the specified object is a ThemeFont and both the font family and language type are equal; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Returns a hash code for the current ThemeFont.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code that combines the font family and language type, suitable for use in hashing algorithms and data structures.

Overrides
System.Object.GetHashCode()
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.