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