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)
1469
&& !textDecorations.ValueEquals(TextDecorations.
Underline
))
System\Windows\TextDecorationCollectionConverter.cs (1)
269
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)
93
if (TextDecorations.
Underline
.ValueEquals(textDecorations))
System\windows\Documents\TextEditorCharacters.cs (3)
223
toggledTextDecorations = TextDecorations.
Underline
;
225
else if (!textDecorations.TryRemove(TextDecorations.
Underline
, out toggledTextDecorations))
228
toggledTextDecorations.Add(TextDecorations.
Underline
);
System\Windows\SystemFonts.cs (6)
79
CopyTextDecorationCollection(TextDecorations.
Underline
, _iconFontTextDecorations);
160
CopyTextDecorationCollection(TextDecorations.
Underline
, _captionFontTextDecorations);
240
CopyTextDecorationCollection(TextDecorations.
Underline
, _smallCaptionFontTextDecorations);
317
CopyTextDecorationCollection(TextDecorations.
Underline
, _menuFontTextDecorations);
398
CopyTextDecorationCollection(TextDecorations.
Underline
, _statusFontTextDecorations);
491
CopyTextDecorationCollection(TextDecorations.
Underline
, _messageFontTextDecorations);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
143
if (wfFont.Underline) { decorations.Add(TextDecorations.
Underline
); };