19 references to Style
PresentationUI (1)
MS\Internal\Documents\SigningDialog.cs (1)
261_signerlabel.Font = new Font(System.Drawing.SystemFonts.DialogFont, System.Drawing.SystemFonts.DialogFont.Style | FontStyle.Bold);
System.Windows.Forms (15)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3721: new(f.Name, f.SizeInPoints, f.Style, GraphicsUnit.Point, f.GdiCharSet, f.GdiVerticalFont);
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (3)
153FontStyle style = font.Style; 563string semiBoldFamilyName = Font.Style == FontStyle.Regular 574Font.Style,
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 (3)
217FontStyle style = f.Style; 232FontStyle hoverStyle = f.Style; 244FontStyle linkStyle = f.Style;
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
144result = new Font(result.FontFamily, MinSize, result.Style, GraphicsUnit.Point); 149result = new Font(result.FontFamily, MaxSize, result.Style, GraphicsUnit.Point);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2125font.Style,
System\Windows\Forms\Rendering\FontCache.Data.cs (4)
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 (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\FontExtensions.cs (1)
25templateFont.Style,
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
140adapter.Font = new SD.Font(familySource, adapter.Font.Size, adapter.Font.Style);