FontExtensions.WithAttributes(Font, FontAttributes) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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