1 implementation of IFontCollection
Microsoft.Maui (1)
Hosting\Internal\FontCollection.cs (1)
6 class FontCollection : IFontCollection
11 references to IFontCollection
Microsoft.Maui (9)
Hosting\Fonts\FontCollectionExtensions.cs (4)
18 public static IFontCollection AddFont(this IFontCollection fontCollection, string filename, string? alias = null) 38 public static IFontCollection AddEmbeddedResourceFont(this IFontCollection fontCollection, Assembly assembly, string filename, string? alias = null)
Hosting\Fonts\FontsMauiAppBuilderExtensions.cs (5)
27 /// <param name="configureDelegate">A configuration delegate that can register fonts in the provided <see cref="IFontCollection"/>.</param> 29 public static MauiAppBuilder ConfigureFonts(this MauiAppBuilder builder, Action<IFontCollection>? configureDelegate) 45 private readonly Action<IFontCollection> _registerFonts; 47 public FontsRegistration(Action<IFontCollection> registerFonts) 52 internal void AddFonts(IFontCollection fonts)
Microsoft.Maui.Controls.Compatibility (2)
MauiHandlersCollectionExtensions.cs (2)
90 public static IFontCollection AddCompatibilityFonts(this IFontCollection fontCollection, IFontRegistrar fontRegistrar, params global::System.Reflection.Assembly[] assemblies)