Partager via


FontsMauiAppBuilderExtensions.ConfigureFonts Méthode

Définition

Surcharges

ConfigureFonts(MauiAppBuilder)

Configure les MauiAppBuilder polices avec.

ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)

Configure le MauiAppBuilder délégué configureDelegate spécifié pour inscrire des polices dans l’application.

ConfigureFonts(MauiAppBuilder)

Source:
FontsMauiAppBuilderExtensions.cs
Source:
FontsMauiAppBuilderExtensions.cs

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>)

Source:
FontsMauiAppBuilderExtensions.cs
Source:
FontsMauiAppBuilderExtensions.cs

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é.

S’applique à