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)
153
FontStyle style = font.
Style
;
563
string semiBoldFamilyName = Font.
Style
== FontStyle.Regular
574
Font.
Style
,
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
545
using Font alwaysUnderlined = new Font(Font, Font.
Style
| FontStyle.Underline);
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (3)
217
FontStyle style = f.
Style
;
232
FontStyle hoverStyle = f.
Style
;
244
FontStyle linkStyle = f.
Style
;
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
144
result = new Font(result.FontFamily, MinSize, result.
Style
, GraphicsUnit.Point);
149
result = new Font(result.FontFamily, MaxSize, result.
Style
, GraphicsUnit.Point);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2125
font.
Style
,
System\Windows\Forms\Rendering\FontCache.Data.cs (4)
94
lfWeight = (int)((font.
Style
& FontStyle.Bold) == FontStyle.Bold ? FW.BOLD : FW.NORMAL),
95
lfItalic = (font.
Style
& FontStyle.Italic) == FontStyle.Italic ? True : False,
96
lfUnderline = (font.
Style
& FontStyle.Underline) == FontStyle.Underline ? True : False,
97
lfStrikeOut = (font.
Style
& FontStyle.Strikeout) == FontStyle.Strikeout ? True : False,
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
305
replaceFont = new Font(fallBackFontName, base.Font.Size, base.Font.
Style
);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FontExtensions.cs (1)
25
templateFont.
Style
,
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
140
adapter.Font = new SD.Font(familySource, adapter.Font.Size, adapter.Font.
Style
);