30 references to TextDecorations
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Classification\ClassificationTypeFormatDefinitions.cs (2)
144
this.TextDecorations = System.Windows.
TextDecorations
.Underline;
163
this.TextDecorations = System.Windows.
TextDecorations
.Strikethrough;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Options\OptionPageSearchHandlerTests.vb (1)
195
run.TextDecorations.Add(
TextDecorations
.Underline)
PresentationCore (5)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1469
&& !textDecorations.ValueEquals(
TextDecorations
.Underline))
System\Windows\TextDecorationCollectionConverter.cs (4)
267
TextDecorations
.OverLine,
268
TextDecorations
.Baseline,
269
TextDecorations
.Underline,
270
TextDecorations
.Strikethrough
PresentationFramework (20)
System\Windows\Controls\AccessText.cs (1)
561
trigger.Setters.Add(new Setter(TextDecorationsProperty, System.Windows.
TextDecorations
.Underline));
System\Windows\Documents\DPTypeDescriptorContext.cs (4)
93
if (
TextDecorations
.Underline.ValueEquals(textDecorations))
97
else if (
TextDecorations
.Strikethrough.ValueEquals(textDecorations))
101
else if (
TextDecorations
.OverLine.ValueEquals(textDecorations))
105
else if (
TextDecorations
.Baseline.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 (12)
79
CopyTextDecorationCollection(
TextDecorations
.Underline, _iconFontTextDecorations);
84
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _iconFontTextDecorations);
160
CopyTextDecorationCollection(
TextDecorations
.Underline, _captionFontTextDecorations);
165
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _captionFontTextDecorations);
240
CopyTextDecorationCollection(
TextDecorations
.Underline, _smallCaptionFontTextDecorations);
245
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _smallCaptionFontTextDecorations);
317
CopyTextDecorationCollection(
TextDecorations
.Underline, _menuFontTextDecorations);
322
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _menuFontTextDecorations);
398
CopyTextDecorationCollection(
TextDecorations
.Underline, _statusFontTextDecorations);
403
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _statusFontTextDecorations);
491
CopyTextDecorationCollection(
TextDecorations
.Underline, _messageFontTextDecorations);
496
CopyTextDecorationCollection(
TextDecorations
.Strikethrough, _messageFontTextDecorations);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (2)
143
if (wfFont.Underline) { decorations.Add(
TextDecorations
.Underline); };
144
if (wfFont.Strikeout) { decorations.Add(
TextDecorations
.Strikethrough); }