FontsMauiAppBuilderExtensions.ConfigureFonts Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
ConfigureFonts(MauiAppBuilder) |
Konfiguriert die MauiAppBuilder mit Schriftarten. |
ConfigureFonts(MauiAppBuilder, Action<IFontCollection>) |
Konfiguriert den MauiAppBuilder mit einem angegebenen Delegat |
ConfigureFonts(MauiAppBuilder)
Konfiguriert die MauiAppBuilder mit Schriftarten.
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
Die zu konfigurierende MauiAppBuilder-Schnittstelle.
Gibt zurück
Die konfigurierte Zielgruppe (MauiAppBuilder).
Gilt für:
ConfigureFonts(MauiAppBuilder, Action<IFontCollection>)
Konfiguriert den MauiAppBuilder mit einem angegebenen Delegat configureDelegate
, um Schriftarten in der Anwendung zu registrieren.
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
Die zu konfigurierende MauiAppBuilder-Schnittstelle.
- configureDelegate
- Action<IFontCollection>
Ein Konfigurationsdelegat, der Schriftarten im bereitgestellten IFontCollectionregistrieren kann.
Gibt zurück
Die konfigurierte Zielgruppe (MauiAppBuilder).
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für