86 references to Bold
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)
232
Font 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 (30)
System\Drawing\FontConverterTests.cs (9)
159
{ $"Courier New{Separator} style=Bold", "Courier New", 8.25f, GraphicsUnit.Point, FontStyle.
Bold
},
160
{ $"Courier New{Separator} 11 px{Separator} style=Bold{Separator} Italic", "Courier New", 11f, GraphicsUnit.Pixel, FontStyle.
Bold
| FontStyle.Italic },
162
{ $"Courier New{Separator} 11 px{Separator} style=Bold{Separator} Italic{Separator} Strikeout", "Courier New", 11f, GraphicsUnit.Pixel, FontStyle.
Bold
| FontStyle.Italic | FontStyle.Strikeout },
163
{ $"Arial{Separator} 11 px{Separator} style=Bold, Italic, Strikeout", "Arial", 11f, GraphicsUnit.Pixel, FontStyle.
Bold
| FontStyle.Italic | FontStyle.Strikeout },
166
{ $"arIAL{Separator} 10{Separator} style=bold", "Arial", 10f, GraphicsUnit.Point, FontStyle.
Bold
},
170
{ $"Courier New{Separator} Style=Bold", "Courier New", 8.25f, GraphicsUnit.Point, FontStyle.
Bold
}, // FullFramework style keyword is case sensitive.
171
{ $"11px{Separator} Style=Bold", "Microsoft Sans Serif", 8.25f, GraphicsUnit.Point, FontStyle.
Bold
}
178
data.Add($"{Separator} 10{Separator} style=bold", "", 10f, GraphicsUnit.Point, FontStyle.
Bold
);
182
data.Add($"{Separator} 10{Separator} style=bold", "Microsoft Sans Serif", 10f, GraphicsUnit.Point, FontStyle.
Bold
);
System\Drawing\FontFamilyTests.cs (1)
163
yield return new object[] { FontStyle.
Bold
};
System\Drawing\FontTests.cs (20)
90
yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.
Bold
};
172
yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.
Bold
, GraphicsUnit.Document };
214
yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.
Bold
, GraphicsUnit.Document, 0 };
256
yield return new object[] { FontFamily.GenericMonospace, 1, FontStyle.
Bold
, GraphicsUnit.Document, 0, true };
395
using Font font = new(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true);
420
Font font = new(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true);
423
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false };
424
yield return new object[] { font.Clone(), new Font(family, 9, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false };
426
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 9, gdiVerticalFont: true), false };
427
yield return new object[] { font.Clone(), new Font(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: false), false };
556
[InlineData(FontStyle.
Bold
, int.MinValue, 0)]
557
[InlineData(FontStyle.
Bold
, -2147483099, 0)]
564
[InlineData(FontStyle.Strikeout | FontStyle.Underline | FontStyle.Italic | FontStyle.
Bold
, 550, 1)]
565
[InlineData(FontStyle.Strikeout | FontStyle.Underline | FontStyle.
Bold
| FontStyle.Italic, int.MaxValue, 1)]
699
[InlineData(FontStyle.Strikeout | FontStyle.
Bold
| FontStyle.Italic, 255, true, "@", 700)]
827
using Font font = new(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true);
852
using Font font = new(family, 10, FontStyle.
Bold
, GraphicsUnit.Inch, 10, gdiVerticalFont: true);
862
Assert.Equal((expectedStyle & FontStyle.
Bold
) != 0, font.Bold);
879
using Font font1 = new(family1, 1, FontStyle.
Bold
, GraphicsUnit.Point);
882
using Font font2 = new(family2, 1, FontStyle.
Bold
, GraphicsUnit.Point);
System.Windows.Forms (10)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3770
style |= FontStyle.
Bold
;
3790
style |= FontStyle.
Bold
;
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (2)
215
style |= FontStyle.
Bold
;
219
style &= ~FontStyle.
Bold
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2607
_odCacheFont = new Font(_odCacheFont, FontStyle.
Bold
);
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)
1304
public Font GetBoldFont() => _boldFont ??= new Font(Font, FontStyle.
Bold
);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2184
style |= FontStyle.
Bold
;
System\Windows\Forms\Rendering\FontCache.Data.cs (2)
94
lfWeight = (int)((font.Style & FontStyle.
Bold
) == FontStyle.
Bold
? FW.BOLD : FW.NORMAL),
System.Windows.Forms.Design (6)
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 (2)
19
FontStyle.
Bold
,
20
FontStyle.
Bold
| FontStyle.Italic
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.Tests (11)
System\Windows\Forms\AxHostTests.cs (2)
1475
using Font font = new("Arial", 10, FontStyle.
Bold
| FontStyle.Underline | FontStyle.Italic | FontStyle.Strikeout, GraphicsUnit.Point, 10);
1544
using Font font = new("Arial", 10, FontStyle.
Bold
| FontStyle.Underline | FontStyle.Italic | FontStyle.Strikeout, GraphicsUnit.Point, 10);
System\Windows\Forms\DataGridViewTests.cs (1)
2328
using Font customFont3 = new("Arial", 9F, FontStyle.
Bold
);
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
113
using Font customRowHeaderFont = new("Arial", 9F, FontStyle.
Bold
);
System\Windows\Forms\RichTextBoxTests.cs (7)
1582
yield return new object[] { "Arial", 8.25f, FontStyle.
Bold
, GraphicsUnit.Point, 1, 165, CFE_EFFECTS.CFE_BOLD };
1586
yield return new object[] { "Arial", 8.25f, FontStyle.
Bold
| FontStyle.Italic | FontStyle.Regular | FontStyle.Strikeout | FontStyle.Underline, GraphicsUnit.Point, 10, 165, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ITALIC | CFE_EFFECTS.CFE_UNDERLINE | CFE_EFFECTS.CFE_STRIKEOUT };
4714
yield return new object[] { CFM_MASK.CFM_BOLD, CFE_EFFECTS.CFE_BOLD, 0, arial, "Arial", 13, FontStyle.
Bold
};
4715
yield return new object[] { CFM_MASK.CFM_BOLD, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ALLCAPS, 0, arial, "Arial", 13, FontStyle.
Bold
};
4815
yield return new object[] { "Arial", 8.25f, true, FontStyle.
Bold
| FontStyle.Italic | FontStyle.Regular | FontStyle.Strikeout | FontStyle.Underline, GraphicsUnit.Point, 10, 1 };
4916
yield return new object[] { new Font("Arial", 8.25f, FontStyle.
Bold
), 165, CFE_EFFECTS.CFE_BOLD };
4920
yield return new object[] { new Font("Arial", 8.25f, FontStyle.
Bold
| FontStyle.Italic | FontStyle.Regular | FontStyle.Strikeout | FontStyle.Underline, GraphicsUnit.Point, 10), 165, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ITALIC | CFE_EFFECTS.CFE_UNDERLINE | CFE_EFFECTS.CFE_STRIKEOUT };
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\ToolStripItemTests.Dpi.cs (1)
45
using Font initialFont = toolStrip.Font = new("Segoe UI", 9F, FontStyle.
Bold
, GraphicsUnit.Point);
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (3)
171
style |= SD.FontStyle.
Bold
;
192
style |= SD.FontStyle.
Bold
;
354
style |= SD.FontStyle.
Bold
;
WinFormsControlsTest (22)
ChartControl.cs (1)
40
chart4.Series[0].Font = new Font("Trebuchet MS", 8, FontStyle.
Bold
);
ChartControl.Designer.cs (16)
110
chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
114
chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
133
legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
172
title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.
Bold
);
195
chartArea2.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
201
chartArea2.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
246
title2.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.
Bold
);
269
chartArea3.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
272
chartArea3.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
284
legend3.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
308
title3.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.
Bold
);
329
chartArea4.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
336
chartArea4.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
352
legend4.Font = new System.Drawing.Font("Trebuchet MS", 8F, System.Drawing.FontStyle.
Bold
);
365
series7.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.
Bold
);
402
title4.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.
Bold
);
DataGridViewTest.cs (1)
15
new Font("Arial", 9F, FontStyle.
Bold
),
DataGridViewTest.Designer.cs (1)
58
dataGridViewCellStyle1.Font = new System.Drawing.Font("Cascadia Code", 12F, System.Drawing.FontStyle.
Bold
, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
ErrorProviderTest.Designer.cs (2)
59
this.label1.Font = new System.Drawing.Font("Calibri", 12F, FontStyle.
Bold
);
89
this.label2.Font = new System.Drawing.Font("Calibri", 12F, FontStyle.
Bold
);
ToolStripTests.Designer.cs (1)
138
this.toolStrip4.Font=new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.
Bold
);