32 references to Unit
System.Drawing (16)
commonui\System\Drawing\Advanced\Font.cs (5)
136
si.AddValue("Unit",
Unit
);
153
Initialize(prototype.FontFamily, prototype.Size, newStyle, prototype.
Unit
, SafeNativeMethods.DEFAULT_CHARSET, false);
753
font.
Unit
== this.
Unit
;
996
if (
Unit
== GraphicsUnit.Point)
commonui\System\Drawing\FontConverter.cs (3)
238
args[nArg++] = TypeDescriptor.GetConverter(font.Size).ConvertToString(context, culture, font.Size) + GetGraphicsUnitText(font.
Unit
);
262
else if (font.
Unit
!= GraphicsUnit.Point) {
283
args[3] = font.
Unit
; types[3] = typeof(GraphicsUnit);
commonui\System\Drawing\SystemFonts.cs (8)
59
} else if (captionFont.
Unit
!= GraphicsUnit.Point) {
101
} else if (smcaptionFont.
Unit
!= GraphicsUnit.Point) {
142
} else if (menuFont.
Unit
!= GraphicsUnit.Point) {
183
} else if (statusFont.
Unit
!= GraphicsUnit.Point) {
224
} else if (messageboxFont.
Unit
!= GraphicsUnit.Point) {
279
} else if (icontitleFont.
Unit
!= GraphicsUnit.Point) {
398
if (defaultFont.
Unit
!= GraphicsUnit.Point) {
436
} else if (dialogFont.
Unit
!= GraphicsUnit.Point) {
System.Web.DataVisualization (3)
Common\General\Legend.cs (2)
596
this.Font.
Unit
);
1017
this.Font.
Unit
);
Common\General\LegendColumns.cs (1)
1688
cellFont.
Unit
);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\TaskFormBase.cs (1)
166
_captionLabel.Font = new Font(Font.FontFamily, Font.Size + 2.0f, FontStyle.Bold, Font.
Unit
);
System.Windows.Forms (9)
winforms\Managed\System\WinForms\AxHost.cs (3)
4924
if (font.
Unit
!= GraphicsUnit.Point)
4949
if (f.
Unit
!= GraphicsUnit.Point)
4969
if (font.
Unit
!= GraphicsUnit.Point)
winforms\Managed\System\WinForms\Control.cs (2)
2584
new Font(this.Font.FontFamily, this.Font.Size * factor, this.Font.Style, this.Font.
Unit
, this.Font.GdiCharSet, this.Font.GdiVerticalFont) :
13433
this.Font = new Font(local.FontFamily, local.Size * factor, local.Style, local.
Unit
, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\Form.cs (1)
5120
new Font(this.Font.FontFamily, this.Font.Size * factor, this.Font.Style, this.Font.
Unit
, this.Font.GdiCharSet, this.Font.GdiVerticalFont) :
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
755
local.
Unit
, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
77
if (sysFont.
Unit
!= GraphicsUnit.Point) {
106
if (sysFont.
Unit
!= GraphicsUnit.Point) {
System.Windows.Forms.DataVisualization (3)
Common\General\Legend.cs (2)
596
this.Font.
Unit
);
1017
this.Font.
Unit
);
Common\General\LegendColumns.cs (1)
1688
cellFont.
Unit
);