2 writes to Font
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (2)
49Font = font; 75Font = font;
9 references to Font
System.Windows.Forms.Design (4)
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
65Font font = e.Font!;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
1004int textWidth = Size.Ceiling(e.Graphics.MeasureString(columnName, e.Font!, new SizeF(bounds.Width, bounds.Height))).Width; 1011e.Graphics.DrawString(columnName, e.Font!, foreBrush, focusRectangle); 1027e.Graphics.DrawString(columnName, e.Font!, foreBrush, bounds);
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
499e.Font,
System\Windows\Forms\DrawItemEventArgsTests.cs (2)
28Assert.Equal(font, e.Font); 54Assert.Equal(font, e.Font);
WinFormsControlsTest (2)
ComboBoxesWithScrollBars.cs (1)
140e.Font,
ListBoxes.cs (1)
47e.Font, customBrush, e.Bounds, StringFormat.GenericDefault);