6 references to Regular
Microsoft.Maui (5)
Primitives\Font.cs (5)
18 public bool IsDefault => Family == null && (Size <= 0 || double.IsNaN(Size)) && Slant == FontSlant.Default && Weight == FontWeight.Regular; 20 static Font _default = default(Font).WithWeight(FontWeight.Regular); 28 get => _weight <= 0 ? FontWeight.Regular : _weight; 75 public static Font OfSize(string? name, double size, FontWeight weight = FontWeight.Regular, FontSlant fontSlant = FontSlant.Default, bool enableScaling = true) => 81 public static Font SystemFontOfSize(double size, FontWeight weight = FontWeight.Regular, FontSlant fontSlant = FontSlant.Default, bool enableScaling = true) =>
Microsoft.Maui.Controls (1)
FontExtensions.cs (1)
13 return font.WithWeight(bold ? FontWeight.Bold : FontWeight.Regular, italic ? FontSlant.Italic : FontSlant.Default);