43 references to TextDecorationCollection
PresentationCore (7)
System\Windows\Generated\TextDecorationCollection.cs (2)
449
TextDecorationCollection collection = new
TextDecorationCollection
();
563
return new
TextDecorationCollection
();
System\Windows\TextDecorationCollectionConverter.cs (1)
94
TextDecorationCollection textDecorations = new
TextDecorationCollection
();
System\Windows\TextDecorations.cs (4)
27
underline = new
TextDecorationCollection
();
36
strikethrough = new
TextDecorationCollection
();
45
overLine = new
TextDecorationCollection
();
54
baseline = new
TextDecorationCollection
();
PresentationCore.Tests (24)
System\Windows\TextDecorationCollectionConverter.Tests.cs (24)
63
yield return new object[] { new
TextDecorationCollection
(), CultureInfo.InvariantCulture, string.Empty };
64
yield return new object[] { new
TextDecorationCollection
(), CultureInfo.InvariantCulture, " " };
65
yield return new object[] { new
TextDecorationCollection
(), CultureInfo.InvariantCulture, "None" };
66
yield return new object[] { new
TextDecorationCollection
(), CultureInfo.InvariantCulture, " None " };
68
yield return new object[] { new
TextDecorationCollection
(), new CultureInfo("ru-RU"), string.Empty };
69
yield return new object[] { new
TextDecorationCollection
(), new CultureInfo("no-NO"), " " };
70
yield return new object[] { new
TextDecorationCollection
(), new CultureInfo("no-NO"), "None" };
71
yield return new object[] { new
TextDecorationCollection
(), new CultureInfo("ru-RU"), " None " };
74
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0]]), new CultureInfo("no-NO"), "Strikethrough" };
75
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0]]), new CultureInfo("ru-RU"), "Strikethrough " };
77
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Underline[0], TextDecorations.Baseline[0]]),
80
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0], TextDecorations.Underline[0], TextDecorations.Baseline[0]]),
84
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0], TextDecorations.Underline[0],
138
yield return new object[] { new
TextDecorationCollection
(), string.Empty };
139
yield return new object[] { new
TextDecorationCollection
(), " " };
140
yield return new object[] { new
TextDecorationCollection
(), "None" };
141
yield return new object[] { new
TextDecorationCollection
(), " None " };
144
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0]]), "Strikethrough" };
145
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0]]), "Strikethrough " };
147
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Underline[0], TextDecorations.Baseline[0]]), "Underline, Baseline" };
148
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0], TextDecorations.Underline[0], TextDecorations.Baseline[0]]),
151
yield return new object[] { new
TextDecorationCollection
([TextDecorations.Strikethrough[0], TextDecorations.Underline[0],
253
yield return new object?[] { new
TextDecorationCollection
(), null };
263
Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, new
TextDecorationCollection
(), typeof(TextDecorationCollection)));
PresentationFramework (11)
MS\Internal\Text\DynamicPropertyReader.cs (1)
92
textDecorations = new
TextDecorationCollection
();
MS\Internal\Text\TextSpanModifier.cs (1)
148
TextDecorationCollection result = new
TextDecorationCollection
();
System\Windows\Documents\SpellerHighlightLayer.cs (1)
177
TextDecorationCollection decorationCollection = new
TextDecorationCollection
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11108
DefaultConstructor = delegate () { return new System.Windows.
TextDecorationCollection
(); },
System\Windows\Markup\KnownTypes.cs (1)
1588
case KnownElements.TextDecorationCollection: o = new System.Windows.
TextDecorationCollection
(); break;
System\Windows\SystemFonts.cs (6)
75
_iconFontTextDecorations = new
TextDecorationCollection
();
156
_captionFontTextDecorations = new
TextDecorationCollection
();
236
_smallCaptionFontTextDecorations = new
TextDecorationCollection
();
313
_menuFontTextDecorations = new
TextDecorationCollection
();
394
_statusFontTextDecorations = new
TextDecorationCollection
();
487
_messageFontTextDecorations = new
TextDecorationCollection
();
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
142
TextDecorationCollection decorations = new
TextDecorationCollection
();