Condividi tramite


FontRegistrar Class

Definition

The IFontRegistrar keeps track of the fonts that are registered in our application.

public ref class FontRegistrar : Microsoft::Maui::IFontRegistrar
public class FontRegistrar : Microsoft.Maui.IFontRegistrar
type FontRegistrar = class
    interface IFontRegistrar
Public Class FontRegistrar
Implements IFontRegistrar
Inheritance
FontRegistrar
Implements

Constructors

FontRegistrar(IEmbeddedFontLoader, IServiceProvider)

Creates a new instance of FontRegistrar.

Methods

GetFont(String)

Retrieves the font for actual usages.

Register(String, String, Assembly)

Registers a font in the app font cache.

Register(String, String)

Registers a font in the app font cache.

Applies to