Bagikan melalui


FontsMauiAppBuilderExtensions.ConfigureFonts Metode

Definisi

Overload

ConfigureFonts(MauiAppBuilder)

MauiAppBuilder Mengonfigurasi dengan font.

ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)

MauiAppBuilder Mengonfigurasi dengan delegasi configureDelegate yang ditentukan untuk mendaftarkan font dalam aplikasi.

ConfigureFonts(MauiAppBuilder)

Sumber:
FontsMauiAppBuilderExtensions.cs
Sumber:
FontsMauiAppBuilderExtensions.cs

MauiAppBuilder Mengonfigurasi dengan font.

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

Parameter

builder
MauiAppBuilder

untuk MauiAppBuilder mengonfigurasi.

Mengembalikan

Yang dikonfigurasi MauiAppBuilder.

Berlaku untuk

ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)

Sumber:
FontsMauiAppBuilderExtensions.cs
Sumber:
FontsMauiAppBuilderExtensions.cs

MauiAppBuilder Mengonfigurasi dengan delegasi configureDelegate yang ditentukan untuk mendaftarkan font dalam aplikasi.

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

Parameter

builder
MauiAppBuilder

untuk MauiAppBuilder mengonfigurasi.

configureDelegate
Action<IFontCollection>

Delegasi konfigurasi yang dapat mendaftarkan font di yang disediakan IFontCollection.

Mengembalikan

Yang dikonfigurasi MauiAppBuilder.

Berlaku untuk