8 references to Underline
System.Drawing.Common.Tests (3)
System\Drawing\FontConverterTests.cs (1)
96
nameof(Font.
Underline
),
System\Drawing\FontTests.cs (2)
715
Assert.Equal(font.
Underline
? 1 : 0, logFont.lfUnderline);
865
Assert.Equal((expectedStyle & FontStyle.Underline) != 0, font.
Underline
);
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3618
fUnderline = font.
Underline
,
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
45
fUnderline = font.
Underline
,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2752
if (value.
Underline
)
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\ElementHostPropertyMap.cs (1)
147
if (wfFont.
Underline
) { decorations.Add(TextDecorations.Underline); };