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)
1478&& !textDecorations.ValueEquals(TextDecorations.Underline))
System\Windows\TextDecorationCollectionConverter.cs (4)
280TextDecorations.OverLine, 281TextDecorations.Baseline, 282TextDecorations.Underline, 283TextDecorations.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)
95if (TextDecorations.Underline.ValueEquals(textDecorations)) 99else if (TextDecorations.Strikethrough.ValueEquals(textDecorations)) 103else if (TextDecorations.OverLine.ValueEquals(textDecorations)) 107else if (TextDecorations.Baseline.ValueEquals(textDecorations))
System\windows\Documents\TextEditorCharacters.cs (3)
239toggledTextDecorations = TextDecorations.Underline; 241else if (!textDecorations.TryRemove(TextDecorations.Underline, out toggledTextDecorations)) 244toggledTextDecorations.Add(TextDecorations.Underline);
System\Windows\SystemFonts.cs (12)
88CopyTextDecorationCollection(TextDecorations.Underline, _iconFontTextDecorations); 93CopyTextDecorationCollection(TextDecorations.Strikethrough, _iconFontTextDecorations); 169CopyTextDecorationCollection(TextDecorations.Underline, _captionFontTextDecorations); 174CopyTextDecorationCollection(TextDecorations.Strikethrough, _captionFontTextDecorations); 249CopyTextDecorationCollection(TextDecorations.Underline, _smallCaptionFontTextDecorations); 254CopyTextDecorationCollection(TextDecorations.Strikethrough, _smallCaptionFontTextDecorations); 326CopyTextDecorationCollection(TextDecorations.Underline, _menuFontTextDecorations); 331CopyTextDecorationCollection(TextDecorations.Strikethrough, _menuFontTextDecorations); 407CopyTextDecorationCollection(TextDecorations.Underline, _statusFontTextDecorations); 412CopyTextDecorationCollection(TextDecorations.Strikethrough, _statusFontTextDecorations); 500CopyTextDecorationCollection(TextDecorations.Underline, _messageFontTextDecorations); 505CopyTextDecorationCollection(TextDecorations.Strikethrough, _messageFontTextDecorations);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (2)
147if (wfFont.Underline) { decorations.Add(TextDecorations.Underline); }; 148if (wfFont.Strikeout) { decorations.Add(TextDecorations.Strikethrough); }