FontsMauiAppBuilderExtensions.ConfigureFonts Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ConfigureFonts(MauiAppBuilder) |
Configure les MauiAppBuilder polices avec. |
ConfigureFonts(MauiAppBuilder, Action<IFontCollection>) |
Configure le MauiAppBuilder délégué |
ConfigureFonts(MauiAppBuilder)
Configure les MauiAppBuilder polices avec.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Hosting::MauiAppBuilder ^ ConfigureFonts(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder);
public static Microsoft.Maui.Hosting.MauiAppBuilder ConfigureFonts (this Microsoft.Maui.Hosting.MauiAppBuilder builder);
static member ConfigureFonts : Microsoft.Maui.Hosting.MauiAppBuilder -> Microsoft.Maui.Hosting.MauiAppBuilder
<Extension()>
Public Function ConfigureFonts (builder As MauiAppBuilder) As MauiAppBuilder
Paramètres
- builder
- MauiAppBuilder
MauiAppBuilder à configurer.
Retours
L’élément MauiAppBuilder configuré.
S’applique à
ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)
Configure le MauiAppBuilder délégué configureDelegate
spécifié pour inscrire des polices dans l’application.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Hosting::MauiAppBuilder ^ ConfigureFonts(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder, Action<Microsoft::Maui::Hosting::IFontCollection ^> ^ configureDelegate);
public static Microsoft.Maui.Hosting.MauiAppBuilder ConfigureFonts (this Microsoft.Maui.Hosting.MauiAppBuilder builder, Action<Microsoft.Maui.Hosting.IFontCollection>? configureDelegate);
static member ConfigureFonts : Microsoft.Maui.Hosting.MauiAppBuilder * Action<Microsoft.Maui.Hosting.IFontCollection> -> Microsoft.Maui.Hosting.MauiAppBuilder
<Extension()>
Public Function ConfigureFonts (builder As MauiAppBuilder, configureDelegate As Action(Of IFontCollection)) As MauiAppBuilder
Paramètres
- builder
- MauiAppBuilder
MauiAppBuilder à configurer.
- configureDelegate
- Action<IFontCollection>
Délégué de configuration qui peut inscrire des polices dans le fichier fourni IFontCollection.
Retours
L’élément MauiAppBuilder configuré.