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