27 references to FontFace
System.Windows.Forms.Tests (27)
System\Windows\Forms\CheckBoxRendererTests.cs (3)
80
State.
FontFace
(SystemFonts.DefaultFont.Name)
117
State.
FontFace
(SystemFonts.DefaultFont.Name)
151
State.
FontFace
(SystemFonts.DefaultFont.Name)
System\Windows\Forms\DataGridViewTests.Rendering.cs (11)
178
Validate.TextOut(column1.HeaderText, stateValidators: State.
FontFace
(customColumnHeaderFont.Name))),
180
Validate.TextOut(column2.HeaderText, stateValidators: State.
FontFace
(customColumnHeaderFont.Name))),
184
Validate.TextOut("Row 1", stateValidators: State.
FontFace
(customRowHeaderFont.Name))),
186
Validate.TextOut(nameof(DataGridView.DefaultCellStyle), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
188
Validate.TextOut(customCellStyleFont.ToString(), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
192
Validate.TextOut("Row 2", stateValidators: State.
FontFace
(customRowHeaderFont.Name))),
194
Validate.TextOut(nameof(DataGridView.ColumnHeadersDefaultCellStyle), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
196
Validate.TextOut(customColumnHeaderFont.ToString(), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
200
Validate.TextOut("Row 3", stateValidators: State.
FontFace
(customRowHeaderFont.Name))),
202
Validate.TextOut(nameof(DataGridView.RowHeadersDefaultCellStyle), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
204
Validate.TextOut(customRowHeaderFont.ToString(), stateValidators: State.
FontFace
(customCellStyleFont.Name))),
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (5)
44
Validate.TextOut("Misc", new(25, 4, 25, 14), stateValidators: State.
FontFace
(Control.DefaultFont.Name))),
50
Validate.TextOut(pt.X.ToString(), new(145, 22, 5, 14), stateValidators: State.
FontFace
(Control.DefaultFont.Name))),
53
Validate.TextOut(nameof(Point.X), new(25, 23, 6, 14), stateValidators: State.
FontFace
(Control.DefaultFont.Name))),
59
Validate.TextOut(pt.Y.ToString(), new(145, 41, 5, 14), stateValidators: State.
FontFace
(Control.DefaultFont.Name))),
62
Validate.TextOut(nameof(Point.Y), new(25, 42, 6, 14), stateValidators: State.
FontFace
(Control.DefaultFont.Name))),
System\Windows\Forms\RadioButtonRendererTests.cs (2)
73
State.
FontFace
(SystemFonts.DefaultFont.Name)
147
State.
FontFace
(SystemFonts.DefaultFont.Name)
System\Windows\Forms\TextBoxRendererTests.cs (2)
81
State.
FontFace
(SystemFonts.DefaultFont.Name)
117
State.
FontFace
(SystemFonts.DefaultFont.Name)
System\Windows\Forms\TextRendererTests.cs (4)
584
State.
FontFace
(SystemFonts.DefaultFont.Name),
688
State.
FontFace
(SystemFonts.DefaultFont.Name),
711
State.
FontFace
(SystemFonts.DefaultFont.Name),
787
State.
FontFace
(SystemFonts.DefaultFont.Name),