Sdílet prostřednictvím


FontsMauiAppBuilderExtensions.ConfigureFonts Metoda

Definice

Přetížení

ConfigureFonts(MauiAppBuilder)

Konfiguruje MauiAppBuilder písma.

ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)

Nakonfiguruje pro určitou delegáta MauiAppBuilder configureDelegate registraci písem v aplikaci.

ConfigureFonts(MauiAppBuilder)

Zdroj:
FontsMauiAppBuilderExtensions.cs
Zdroj:
FontsMauiAppBuilderExtensions.cs

Konfiguruje MauiAppBuilder písma.

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

Parametry

builder
MauiAppBuilder

Konfigurace MauiAppBuilder

Návraty

Nakonfigurované MauiAppBuilder.

Platí pro

ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)

Zdroj:
FontsMauiAppBuilderExtensions.cs
Zdroj:
FontsMauiAppBuilderExtensions.cs

Nakonfiguruje pro určitou delegáta MauiAppBuilder configureDelegate registraci písem v aplikaci.

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

Parametry

builder
MauiAppBuilder

Konfigurace MauiAppBuilder

configureDelegate
Action<IFontCollection>

Delegát konfigurace, který může registrovat písma v zadaném IFontCollectionsouboru .

Návraty

Nakonfigurované MauiAppBuilder.

Platí pro