共用方式為


Font.SystemFontOfWeight(FontWeight, FontSlant, Boolean) Method

Definition

public static Microsoft.Maui.Font SystemFontOfWeight (Microsoft.Maui.FontWeight weight, Microsoft.Maui.FontSlant fontSlant = Microsoft.Maui.FontSlant.Default, bool enableScaling = true);
static member SystemFontOfWeight : Microsoft.Maui.FontWeight * Microsoft.Maui.FontSlant * bool -> Microsoft.Maui.Font
Public Shared Function SystemFontOfWeight (weight As FontWeight, Optional fontSlant As FontSlant = Microsoft.Maui.FontSlant.Default, Optional enableScaling As Boolean = true) As Font

Parameters

weight
FontWeight
fontSlant
FontSlant
enableScaling
Boolean

Returns

Applies to