30 references to TextDecorations
PresentationCore (8)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1462&& !textDecorations.ValueEquals(TextDecorations.Underline))
System\Windows\TextDecorationCollectionConverter.cs (7)
23/// <see langword="false"/> will always be returned because <see cref="TextDecorations"/> cannot be converted to any other type. 71/// or a combination of the predefined <see cref="TextDecorations"/> names delimited by commas (,). 98textDecorations.Add(TextDecorations.OverLine[0]); 103textDecorations.Add(TextDecorations.Baseline[0]); 108textDecorations.Add(TextDecorations.Underline[0]); 113textDecorations.Add(TextDecorations.Strikethrough[0]); 132/// <returns><see langword="null"/> will always be returned because <see cref="TextDecorations"/> cannot be converted to any other type.</returns>
PresentationFramework (20)
System\Windows\Controls\AccessText.cs (1)
560trigger.Setters.Add(new Setter(TextDecorationsProperty, System.Windows.TextDecorations.Underline));
System\Windows\Documents\DPTypeDescriptorContext.cs (4)
92if (TextDecorations.Underline.ValueEquals(textDecorations)) 96else if (TextDecorations.Strikethrough.ValueEquals(textDecorations)) 100else if (TextDecorations.OverLine.ValueEquals(textDecorations)) 104else if (TextDecorations.Baseline.ValueEquals(textDecorations))
System\windows\Documents\TextEditorCharacters.cs (3)
222toggledTextDecorations = TextDecorations.Underline; 224else if (!textDecorations.TryRemove(TextDecorations.Underline, out toggledTextDecorations)) 227toggledTextDecorations.Add(TextDecorations.Underline);
System\Windows\SystemFonts.cs (12)
78CopyTextDecorationCollection(TextDecorations.Underline, _iconFontTextDecorations); 83CopyTextDecorationCollection(TextDecorations.Strikethrough, _iconFontTextDecorations); 159CopyTextDecorationCollection(TextDecorations.Underline, _captionFontTextDecorations); 164CopyTextDecorationCollection(TextDecorations.Strikethrough, _captionFontTextDecorations); 239CopyTextDecorationCollection(TextDecorations.Underline, _smallCaptionFontTextDecorations); 244CopyTextDecorationCollection(TextDecorations.Strikethrough, _smallCaptionFontTextDecorations); 316CopyTextDecorationCollection(TextDecorations.Underline, _menuFontTextDecorations); 321CopyTextDecorationCollection(TextDecorations.Strikethrough, _menuFontTextDecorations); 397CopyTextDecorationCollection(TextDecorations.Underline, _statusFontTextDecorations); 402CopyTextDecorationCollection(TextDecorations.Strikethrough, _statusFontTextDecorations); 490CopyTextDecorationCollection(TextDecorations.Underline, _messageFontTextDecorations); 495CopyTextDecorationCollection(TextDecorations.Strikethrough, _messageFontTextDecorations);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (2)
142if (wfFont.Underline) { decorations.Add(TextDecorations.Underline); }; 143if (wfFont.Strikeout) { decorations.Add(TextDecorations.Strikethrough); }