1 write to Family
Microsoft.Maui (1)
Primitives\Font.cs (1)
33 Family = family;
10 references to Family
Microsoft.Maui (10)
Primitives\Font.cs (10)
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); 65 return new Font(Family, Size, Slant, weight, AutoScalingEnabled); 70 return new Font(Family, Size, fontSlant, weight, AutoScalingEnabled); 90 return string.Equals(Family, other.Family, StringComparison.Ordinal) 112 public override int GetHashCode() => (Family, Size, Weight, Slant, AutoScalingEnabled).GetHashCode(); 126 => $"Family: {Family}, Size: {Size}, Weight: {Weight}, Slant: {Slant}, AutoScalingEnabled: {AutoScalingEnabled}";