16 references to Font
PresentationUI (2)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
232Font columnHeaderFont = new System.Drawing.Font(Font, System.Drawing.FontStyle.Bold);
MS\Internal\Documents\SigningDialog.cs (1)
264_signerlabel.Font = new Font(System.Drawing.SystemFonts.DialogFont, System.Drawing.SystemFonts.DialogFont.Style | FontStyle.Bold);
System.Drawing.Common.Tests (2)
System\Drawing\FontTests.cs (2)
308Assert.Throws<NullReferenceException>(() => new Font(null, FontStyle.Regular)); 318using Font copy = new(font, FontStyle.Italic);
System.Windows.Forms (8)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
530using Font alwaysUnderlined = new Font(Font, Font.Style | FontStyle.Underline);
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (3)
222hoverLinkFont = new Font(f, style); 237hoverLinkFont = new Font(f, hoverStyle); 249linkFont = new Font(f, linkStyle);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2607_odCacheFont = new Font(_odCacheFont, FontStyle.Bold); 2794subItemFont = new Font(item.SubItems[0].Font, FontStyle.Underline);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
232_titleLabel.Font = new(Font, FontStyle.Bold);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1304public Font GetBoldFont() => _boldFont ??= new Font(Font, FontStyle.Bold);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionPanel.HeaderLine.cs (1)
16protected override Font GetFont() => new(ActionPanel.Font, FontStyle.Bold);
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
94_titleLabel.Font = new Font(ActionPanel.Font, FontStyle.Bold);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
334label.Font = new Font(label.Font, FontStyle.Bold);
System\Windows\Forms\Design\TabOrder.cs (1)
49_tabFont = new Font(_tabFont, FontStyle.Bold);