37 references to GenericSansSerif
System.Drawing.Common.Tests (29)
System\Drawing\FontFamilyTests.cs (6)
72yield return new object[] { FontFamily.GenericMonospace, FontFamily.GenericSansSerif, false }; 74yield return new object[] { FontFamily.GenericSansSerif, new(), false }; 75yield return new object[] { FontFamily.GenericSansSerif, null, false }; 131using FontFamily fontFamily1 = FontFamily.GenericSansSerif; 132using FontFamily fontFamily2 = FontFamily.GenericSansSerif; 157using FontFamily fontFamily = FontFamily.GenericSansSerif;
System\Drawing\FontTests.cs (23)
21yield return new object[] { FontFamily.GenericSansSerif, 10 }; 27yield return new object[] { FontFamily.GenericSansSerif, FontFamily.GenericSerif }; 28yield return new object[] { FontFamily.GenericSansSerif, FontFamily.GenericMonospace }; 92yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular }; 134yield return new object[] { FontFamily.GenericSansSerif, 3, GraphicsUnit.Millimeter }; 174yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter }; 216yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter, 255 }; 258yield return new object[] { FontFamily.GenericSansSerif, 3, FontStyle.Regular, GraphicsUnit.Millimeter, 255, true }; 359using FontFamily family = FontFamily.GenericSansSerif; 380using FontFamily family = FontFamily.GenericSansSerif; 394using FontFamily family = FontFamily.GenericSansSerif; 410using FontFamily family = FontFamily.GenericSansSerif; 419FontFamily family = FontFamily.GenericSansSerif; 489using FontFamily family = FontFamily.GenericSansSerif; 500using FontFamily family = FontFamily.GenericSansSerif; 516using FontFamily family = FontFamily.GenericSansSerif; 524using FontFamily family = FontFamily.GenericSansSerif; 544using FontFamily family = FontFamily.GenericSansSerif; 813using FontFamily family = FontFamily.GenericSansSerif; 826using FontFamily family = FontFamily.GenericSansSerif; 839using FontFamily family = FontFamily.GenericSansSerif; 851using FontFamily family = FontFamily.GenericSansSerif; 878using FontFamily family1 = FontFamily.GenericSansSerif;
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (6)
161using (Font font = new(FontFamily.GenericSansSerif, 9f)) 191Assert.Equal(FontFamily.GenericSansSerif.Name, result.Font.FontFamily.Name); 208using (Font font = new(FontFamily.GenericSansSerif, 9f)) 239Assert.Equal(FontFamily.GenericSansSerif.Name, result.Font.FontFamily.Name); 354NodeFont = new Font(FontFamily.GenericSansSerif, 9f) 380Assert.Equal(FontFamily.GenericSansSerif.Name, result.NodeFont.FontFamily.Name);
System\Windows\Forms\TreeViewTests.cs (2)
2702Font font = new(FontFamily.GenericSansSerif, 100); 2710Font smallFont = new(FontFamily.GenericSansSerif, 2);