16 references to Unit
System.Drawing.Common.Tests (7)
System\Drawing\FontConverterTests.cs (4)
54Assert.Equal(expectedUnits, font.Unit); 90nameof(Font.Unit), 127Assert.Equal(font.Unit, newFont.Unit);
System\Drawing\FontTests.cs (3)
402Assert.Equal(font.Unit, clone.Unit); 867Assert.Equal(expectedUnit, font.Unit);
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (3)
3709if (font.Unit != GraphicsUnit.Point) 3743return f.Unit == GraphicsUnit.Point 3764if (font.Unit != GraphicsUnit.Point)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
73if (sysFont.Unit != GraphicsUnit.Point) 109if (sysFont.Unit != GraphicsUnit.Point)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FontExtensions.cs (1)
26templateFont.Unit,
System.Windows.Forms.Tests (3)
System\Windows\Forms\FontDialogTests.cs (2)
253Assert.Equal(GraphicsUnit.Point, result.Unit); 271Assert.Equal(GraphicsUnit.Point, result.Unit);
System\Windows\Forms\RichTextBoxTests.cs (1)
4758Assert.Equal(GraphicsUnit.Point, font.Unit);