16 references to Underline
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Classification\ClassificationTypeFormatDefinitions.cs (1)
144
this.TextDecorations = System.Windows.TextDecorations.
Underline
;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Options\OptionPageSearchHandlerTests.vb (1)
195
run.TextDecorations.Add(TextDecorations.
Underline
)
PresentationCore (2)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1478
&& !textDecorations.ValueEquals(TextDecorations.
Underline
))
System\Windows\TextDecorationCollectionConverter.cs (1)
282
TextDecorations.
Underline
,
PresentationFramework (11)
System\Windows\Controls\AccessText.cs (1)
561
trigger.Setters.Add(new Setter(TextDecorationsProperty, System.Windows.TextDecorations.
Underline
));
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
95
if (TextDecorations.
Underline
.ValueEquals(textDecorations))
System\windows\Documents\TextEditorCharacters.cs (3)
239
toggledTextDecorations = TextDecorations.
Underline
;
241
else if (!textDecorations.TryRemove(TextDecorations.
Underline
, out toggledTextDecorations))
244
toggledTextDecorations.Add(TextDecorations.
Underline
);
System\Windows\SystemFonts.cs (6)
88
CopyTextDecorationCollection(TextDecorations.
Underline
, _iconFontTextDecorations);
169
CopyTextDecorationCollection(TextDecorations.
Underline
, _captionFontTextDecorations);
249
CopyTextDecorationCollection(TextDecorations.
Underline
, _smallCaptionFontTextDecorations);
326
CopyTextDecorationCollection(TextDecorations.
Underline
, _menuFontTextDecorations);
407
CopyTextDecorationCollection(TextDecorations.
Underline
, _statusFontTextDecorations);
500
CopyTextDecorationCollection(TextDecorations.
Underline
, _messageFontTextDecorations);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
147
if (wfFont.Underline) { decorations.Add(TextDecorations.
Underline
); };