16 references to Size
System.Drawing.Common (9)
System\Drawing\Font.cs (6)
158si.AddValue("Size", Size); // Do not rename (binary serialization) 248&& font.Size == Size 255public override int GetHashCode() => HashCode.Combine(Name, Style, Size, Unit); 368Initialize(prototype.FontFamily, prototype.Size, newStyle, prototype.Unit, (byte)FONT_CHARSET.DEFAULT_CHARSET, false); 740return Size;
System\Drawing\FontConverter.cs (3)
39sb.AppendLiteral(font.Size.ToString(culture.NumberFormat)); 112args[1] = font.Size; 399return props.Sort([nameof(Font.Name), nameof(Font.Size), nameof(Font.Unit)]);
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (2)
1957{ oldDpi, font.WithSize(font.Size) } 1966scaledFont = font.WithSize(font.Size * factor);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3749item.Font = local.WithSize(local.Size * factor);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
791childItem.Font = currentFont.WithSize(currentFont.Size * factor);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
305replaceFont = new Font(fallBackFontName, base.Font.Size, base.Font.Style);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
243return textScale == 100 ? null : font.WithSize(font.Size * (textScale / 100.0f));
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
140adapter.Font = new SD.Font(familySource, adapter.Font.Size, adapter.Font.Style);