8 references to Underline
System.Drawing.Common.Tests (3)
System\Drawing\FontConverterTests.cs (1)
96nameof(Font.Underline),
System\Drawing\FontTests.cs (2)
715Assert.Equal(font.Underline ? 1 : 0, logFont.lfUnderline); 865Assert.Equal((expectedStyle & FontStyle.Underline) != 0, font.Underline);
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3618fUnderline = font.Underline,
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
45fUnderline = font.Underline,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2752if (value.Underline)
System\Windows\Forms\Help\Help.cs (1)
89string captionFont = $"{font.Name}, {font.SizeInPoints}, , {(font.Bold ? "BOLD" : "")}{(font.Italic ? "ITALIC" : "")}{(font.Underline ? "UNDERLINE" : "")}";
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
147if (wfFont.Underline) { decorations.Add(TextDecorations.Underline); };