9 references to Weight
Microsoft.Maui (8)
Primitives\Font.cs (8)
18 public bool IsDefault => Family == null && (Size <= 0 || double.IsNaN(Size)) && Slant == FontSlant.Default && Weight == FontWeight.Regular; 49 return new Font(Family, Size, Slant, Weight, enabled); 55 return new Font(Family, size, Slant, Weight, AutoScalingEnabled); 60 return new Font(Family, Size, fontSlant, Weight, AutoScalingEnabled); 92 && Weight == other.Weight 112 public override int GetHashCode() => (Family, Size, Weight, Slant, AutoScalingEnabled).GetHashCode(); 126 => $"Family: {Family}, Size: {Size}, Weight: {Weight}, Slant: {Slant}, AutoScalingEnabled: {AutoScalingEnabled}";
Microsoft.Maui.Controls (1)
FontExtensions.cs (1)
18 FontAttributes attributes = font.Weight == FontWeight.Bold ? FontAttributes.Bold : FontAttributes.None;