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