FontExtensions.WithAttributes(Font, FontAttributes) 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.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Font WithAttributes(Microsoft::Maui::Font font, Microsoft::Maui::Controls::FontAttributes attributes);
public static Microsoft.Maui.Font WithAttributes (this Microsoft.Maui.Font font, Microsoft.Maui.Controls.FontAttributes attributes);
static member WithAttributes : Microsoft.Maui.Font * Microsoft.Maui.Controls.FontAttributes -> Microsoft.Maui.Font
<Extension()>
Public Function WithAttributes (font As Font, attributes As FontAttributes) As Font
Parameter
- font
- Font
- attributes
- FontAttributes