16 references to Underline
System.Drawing.Common (3)
System\Drawing\Font.cs (1)
67
public bool Underline => (Style & FontStyle.
Underline
) != 0;
System\Drawing\FontConverter.cs (2)
242
FontStyle validBits = FontStyle.Regular | FontStyle.Bold | FontStyle.Italic | FontStyle.
Underline
| FontStyle.Strikeout;
361
style |= FontStyle.
Underline
;
System.Windows.Forms (13)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3777
style |= FontStyle.
Underline
;
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (1)
42
Font = new Font(Font, FontStyle.
Underline
);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
533
using Font alwaysUnderlined = new Font(Font, Font.Style | FontStyle.
Underline
);
System\Windows\Forms\Controls\Labels\LinkUtilities.cs (6)
205
style |= FontStyle.
Underline
;
209
style &= ~FontStyle.
Underline
;
220
hoverStyle |= FontStyle.
Underline
;
224
hoverStyle &= ~FontStyle.
Underline
;
232
linkStyle |= FontStyle.
Underline
;
236
linkStyle &= ~FontStyle.
Underline
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2804
subItemFont = new Font(item.SubItems[0].Font, FontStyle.
Underline
);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2190
style |= FontStyle.
Underline
;
System\Windows\Forms\Rendering\FontCache.Data.cs (2)
96
lfUnderline = (font.Style & FontStyle.
Underline
) == FontStyle.
Underline
? True : False,