5 references to Bold
System.Drawing.Common.Tests (2)
System\Drawing\FontConverterTests.cs (1)
91
nameof(Font.
Bold
),
System\Drawing\FontTests.cs (1)
862
Assert.Equal((expectedStyle & FontStyle.Bold) != 0, font.
Bold
);
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2737
if (value.
Bold
)
System\Windows\Forms\Help\Help.cs (1)
89
string captionFont = $"{font.Name}, {font.SizeInPoints}, , {(font.
Bold
? "BOLD" : "")}{(font.Italic ? "ITALIC" : "")}{(font.Underline ? "UNDERLINE" : "")}";
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
229
return sdFont.
Bold
? FontWeights.Bold : FontWeights.Normal;