Share via


FontExtensions.WithAttributes(Font, FontAttributes) Method

Definition

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

Parameters

font
Font
attributes
FontAttributes

Returns

Applies to