68 references to FontStyle
PresentationUI (3)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
150_instructionlabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
228Font columnHeaderFont = new System.Drawing.Font(Font, System.Drawing.FontStyle.Bold);
MS\Internal\Documents\SigningDialog.cs (1)
261_signerlabel.Font = new Font(System.Drawing.SystemFonts.DialogFont, System.Drawing.SystemFonts.DialogFont.Style | FontStyle.Bold);
System.Drawing (1)
System.Drawing.cs (1)
59[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.FontStyle))]
System.Windows.Forms (40)
System\Windows\Forms\ActiveX\AxHost.cs (7)
3776FontStyle style = FontStyle.Regular; 3782style |= FontStyle.Bold; 3787style |= FontStyle.Italic; 3792style |= FontStyle.Underline; 3797style |= FontStyle.Strikeout; 3802style |= FontStyle.Bold;
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (3)
153FontStyle style = font.Style; 563string semiBoldFamilyName = Font.Style == FontStyle.Regular 584FontStyle.Regular,
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (2)
42Font = new Font(Font, FontStyle.Underline); 52Font = new Font(Font, FontStyle.Regular);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
545using Font alwaysUnderlined = new Font(Font, Font.Style | FontStyle.Underline);
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (9)
217FontStyle style = f.Style; 220style |= FontStyle.Underline; 224style &= ~FontStyle.Underline; 232FontStyle hoverStyle = f.Style; 235hoverStyle |= FontStyle.Underline; 239hoverStyle &= ~FontStyle.Underline; 244FontStyle linkStyle = f.Style; 247linkStyle |= FontStyle.Underline; 251linkStyle &= ~FontStyle.Underline;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2617_odCacheFont = new Font(_odCacheFont, FontStyle.Bold); 2804subItemFont = 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)
1333public Font GetBoldFont() => _boldFont ??= new Font(Font, FontStyle.Bold);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (6)
2208FontStyle style = FontStyle.Regular; 2211style |= FontStyle.Bold; 2216style |= FontStyle.Italic; 2221style |= FontStyle.Strikeout; 2226style |= FontStyle.Underline;
System\Windows\Forms\Rendering\FontCache.Data.cs (8)
94lfWeight = (int)((font.Style & FontStyle.Bold) == FontStyle.Bold ? FW.BOLD : FW.NORMAL), 95lfItalic = (font.Style & FontStyle.Italic) == FontStyle.Italic ? True : False, 96lfUnderline = (font.Style & FontStyle.Underline) == FontStyle.Underline ? True : False, 97lfStrikeOut = (font.Style & FontStyle.Strikeout) == FontStyle.Strikeout ? True : False,
System.Windows.Forms.Design (13)
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\Drawing\Design\FontNameEditor.cs (8)
15private static readonly FontStyle[] s_fontStyles = 17FontStyle.Regular, 18FontStyle.Italic, 19FontStyle.Bold, 20FontStyle.Bold | FontStyle.Italic 46foreach (var fontStyle in s_fontStyles) 69private static void DrawFontSample(PaintValueEventArgs e, FontFamily fontFamily, FontStyle fontStyle)
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);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
864using Font boldFont = new(_selectedItemName.Font, FontStyle.Bold);
WindowsFormsIntegration (11)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (11)
158SD.FontStyle style; 161style = SD.FontStyle.Regular; 165style = SD.FontStyle.Italic; 169style |= SD.FontStyle.Bold; 187SD.FontStyle style = CurrentFontStyle; 190style |= SD.FontStyle.Bold; 332private SD.FontStyle CurrentFontStyle 336SD.FontStyle style; 340style = SD.FontStyle.Regular; 344style = SD.FontStyle.Italic; 349style |= SD.FontStyle.Bold;