32 references to Unit
System.Drawing (16)
commonui\System\Drawing\Advanced\Font.cs (5)
136si.AddValue("Unit", Unit); 153Initialize(prototype.FontFamily, prototype.Size, newStyle, prototype.Unit, SafeNativeMethods.DEFAULT_CHARSET, false); 753font.Unit == this.Unit; 996if (Unit == GraphicsUnit.Point)
commonui\System\Drawing\FontConverter.cs (3)
238args[nArg++] = TypeDescriptor.GetConverter(font.Size).ConvertToString(context, culture, font.Size) + GetGraphicsUnitText(font.Unit); 262else if (font.Unit != GraphicsUnit.Point) { 283args[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) { 398if (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)
4924if (font.Unit != GraphicsUnit.Point) 4949if (f.Unit != GraphicsUnit.Point) 4969if (font.Unit != GraphicsUnit.Point)
winforms\Managed\System\WinForms\Control.cs (2)
2584new Font(this.Font.FontFamily, this.Font.Size * factor, this.Font.Style, this.Font.Unit, this.Font.GdiCharSet, this.Font.GdiVerticalFont) : 13433this.Font = new Font(local.FontFamily, local.Size * factor, local.Style, local.Unit, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\Form.cs (1)
5120new 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)
755local.Unit, local.GdiCharSet, local.GdiVerticalFont);
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
77if (sysFont.Unit != GraphicsUnit.Point) { 106if (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);