20 references to FontFamily
System.Drawing.Common.Tests (3)
System\Drawing\FontTests.cs (3)
47
if (font1.
FontFamily
.GetHashCode() != font2.
FontFamily
.GetHashCode())
399
Assert.Equal(font.Name, clone.
FontFamily
.Name);
System.Windows.Forms (4)
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
144
result = new Font(result.
FontFamily
, MinSize, result.Style, GraphicsUnit.Point);
149
result = new Font(result.
FontFamily
, MaxSize, result.Style, GraphicsUnit.Point);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2063
font.
FontFamily
,
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
68
string familyName = font.
FontFamily
.Name;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2261
Control.Font.
FontFamily
,
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FontExtensions.cs (1)
23
templateFont.
FontFamily
,
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (3)
191
Assert.Equal(FontFamily.GenericSansSerif.Name, result.Font.
FontFamily
.Name);
239
Assert.Equal(FontFamily.GenericSansSerif.Name, result.Font.
FontFamily
.Name);
380
Assert.Equal(FontFamily.GenericSansSerif.Name, result.NodeFont.
FontFamily
.Name);
System\Windows\Forms\FontDialogTests.cs (4)
250
Assert.Equal(font.
FontFamily
, result.
FontFamily
);
268
Assert.Equal(font.
FontFamily
, result.
FontFamily
);
System\Windows\Forms\GroupBoxTests.cs (1)
604
using Font newFont = new(originalFont.
FontFamily
, originalFont.Size + 5, originalFont.Style);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
139
adapter.SetValue(SWC.Control.FontFamilyProperty, Convert.ToSystemWindowsFontFamily(wfFont.
FontFamily
));
WinFormsControlsTest (2)
MenuStripAndCheckedListBox.cs (1)
39
menuStrip1.Font = new Font(f.
FontFamily
, f.Size * factor, f.Style);
ScalingBeforeChanges.cs (1)
100
Font = new Font(Font.
FontFamily
, Font.Size * factorY, Font.Style);