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)
3676if (font.Unit != GraphicsUnit.Point) 3710return f.Unit == GraphicsUnit.Point 3731if (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);