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)
228
Font 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)
3776
FontStyle
style =
FontStyle
.Regular;
3782
style |=
FontStyle
.Bold;
3787
style |=
FontStyle
.Italic;
3792
style |=
FontStyle
.Underline;
3797
style |=
FontStyle
.Strikeout;
3802
style |=
FontStyle
.Bold;
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (3)
153
FontStyle
style = font.Style;
563
string semiBoldFamilyName = Font.Style ==
FontStyle
.Regular
584
FontStyle
.Regular,
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (2)
42
Font = new Font(Font,
FontStyle
.Underline);
52
Font = new Font(Font,
FontStyle
.Regular);
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 (9)
217
FontStyle
style = f.Style;
220
style |=
FontStyle
.Underline;
224
style &= ~
FontStyle
.Underline;
232
FontStyle
hoverStyle = f.Style;
235
hoverStyle |=
FontStyle
.Underline;
239
hoverStyle &= ~
FontStyle
.Underline;
244
FontStyle
linkStyle = f.Style;
247
linkStyle |=
FontStyle
.Underline;
251
linkStyle &= ~
FontStyle
.Underline;
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2617
_odCacheFont = new Font(_odCacheFont,
FontStyle
.Bold);
2804
subItemFont = 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)
1333
public Font GetBoldFont() => _boldFont ??= new Font(Font,
FontStyle
.Bold);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (6)
2208
FontStyle
style =
FontStyle
.Regular;
2211
style |=
FontStyle
.Bold;
2216
style |=
FontStyle
.Italic;
2221
style |=
FontStyle
.Strikeout;
2226
style |=
FontStyle
.Underline;
System\Windows\Forms\Rendering\FontCache.Data.cs (8)
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 (13)
System\ComponentModel\Design\DesignerActionPanel.HeaderLine.cs (1)
16
protected 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)
15
private static readonly
FontStyle
[] s_fontStyles =
17
FontStyle
.Regular,
18
FontStyle
.Italic,
19
FontStyle
.Bold,
20
FontStyle
.Bold |
FontStyle
.Italic
46
foreach (
var
fontStyle in s_fontStyles)
69
private static void DrawFontSample(PaintValueEventArgs e, FontFamily fontFamily,
FontStyle
fontStyle)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
334
label.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)
864
using Font boldFont = new(_selectedItemName.Font,
FontStyle
.Bold);
WindowsFormsIntegration (11)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (11)
158
SD.
FontStyle
style;
161
style = SD.
FontStyle
.Regular;
165
style = SD.
FontStyle
.Italic;
169
style |= SD.
FontStyle
.Bold;
187
SD.
FontStyle
style = CurrentFontStyle;
190
style |= SD.
FontStyle
.Bold;
332
private SD.
FontStyle
CurrentFontStyle
336
SD.
FontStyle
style;
340
style = SD.
FontStyle
.Regular;
344
style = SD.
FontStyle
.Italic;
349
style |= SD.
FontStyle
.Bold;