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