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