19 instantiations of 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)
25underline = new TextDecorationCollection(); 32strikethrough = new TextDecorationCollection(); 39overLine = new TextDecorationCollection(); 46baseline = new 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)
175TextDecorationCollection decorationCollection = new TextDecorationCollection();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10013bamlType.DefaultConstructor = delegate() { return new System.Windows.TextDecorationCollection(); };
System\Windows\Markup\KnownTypes.cs (1)
1594case 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)
144TextDecorationCollection decorations = new TextDecorationCollection();
147 references to TextDecorationCollection
PresentationCore (46)
MS\Internal\TextFormatting\FullTextLine.cs (2)
51private TextDecorationCollection _paragraphTextDecorations; // Paragraph-level text decorations (or null if none) 2592internal TextDecorationCollection TextDecorations
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
44TextDecorationCollection textDecorations, 141public override TextDecorationCollection TextDecorations 209private TextDecorationCollection _textDecorations;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
252TextDecorationCollection textDecorations, 1049TextDecorationCollection textDecorations = currentLine.TextDecorations; 1093TextDecorationCollection textDecorations,
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1465TextDecorationCollection textDecorations = textRun.Properties.TextDecorations;
MS\Internal\TextFormatting\TextProperties.cs (1)
148internal TextDecorationCollection TextDecorations
System\Windows\Generated\TextDecorationCollection.cs (17)
36public new TextDecorationCollection Clone() 38return (TextDecorationCollection)base.Clone(); 45public new TextDecorationCollection CloneCurrentValue() 47return (TextDecorationCollection)base.CloneCurrentValue(); 443internal static TextDecorationCollection Empty 449TextDecorationCollection collection = new TextDecorationCollection(); 540private static TextDecorationCollection s_empty; 570TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 590TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 610TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 630TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 732internal Enumerator(TextDecorationCollection list) 842private TextDecorationCollection _list;
System\Windows\Media\FormattedText.cs (2)
821public void SetTextDecorations(TextDecorationCollection textDecorations) 832public void SetTextDecorations(TextDecorationCollection textDecorations, int startIndex, int count)
System\Windows\Media\textformatting\TextParagraphProperties.cs (1)
72public virtual TextDecorationCollection TextDecorations
System\Windows\Media\textformatting\TextRunProperties.cs (1)
52public abstract TextDecorationCollection TextDecorations
System\Windows\TextDecorationCollection.cs (2)
39internal bool ValueEquals(TextDecorationCollection textDecorations) 90public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result)
System\Windows\TextDecorationCollectionConverter.cs (5)
87public static new TextDecorationCollection ConvertFromString(string text) 94TextDecorationCollection textDecorations = new TextDecorationCollection(); 171ConstructorInfo ci = typeof(TextDecorationCollection).GetConstructor( 265private static readonly TextDecorationCollection[] PredefinedTextDecorations = 266new TextDecorationCollection[] {
System\Windows\TextDecorations.cs (8)
58public static TextDecorationCollection Underline 70public static TextDecorationCollection Strikethrough 81public static TextDecorationCollection OverLine 92public static TextDecorationCollection Baseline 104private static readonly TextDecorationCollection underline; 105private static readonly TextDecorationCollection strikethrough; 106private static readonly TextDecorationCollection overLine; 107private static readonly TextDecorationCollection baseline;
PresentationFramework (98)
MS\Internal\Documents\TextBoxLine.cs (2)
436TextDecorationCollection highlightDecorations = highlights.GetHighlightValue(position, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection;
MS\Internal\PtsHost\LineBase.cs (2)
191TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 278TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
MS\Internal\Text\ComplexLine.cs (2)
421TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 499TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
MS\Internal\Text\DynamicPropertyReader.cs (5)
66internal static TextDecorationCollection GetTextDecorationsForInlineObject(DependencyObject element, TextDecorationCollection textDecorations) 71TextDecorationCollection parentTextDecorations = null; 107internal static TextDecorationCollection GetTextDecorations(DependencyObject element) 109return GetCollectionValue(element, Inline.TextDecorationsProperty) as TextDecorationCollection;
MS\Internal\Text\LineProperties.cs (3)
76public override TextDecorationCollection TextDecorations { get { return _defaultTextProperties.TextDecorations; } } 356public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } } 437public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } }
MS\Internal\Text\TextProperties.cs (7)
60public override TextDecorationCollection TextDecorations { get { return _textDecorations; } } 157TextDecorationCollection highlightDecorations = GetHighlightTextDecorations(position); 183internal TextProperties(TextProperties source, TextDecorationCollection textDecorations) 221private static TextDecorationCollection GetHighlightTextDecorations(StaticTextPointer highlightPosition) 223TextDecorationCollection textDecorations = null; 234textDecorations = highlights.GetHighlightValue(highlightPosition, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection; 340private TextDecorationCollection _textDecorations;
MS\Internal\Text\TextSpanModifier.cs (11)
22private TextDecorationCollection _modifierDecorations; 32public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush) 44public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush, FlowDirection flowDirection) 98TextDecorationCollection mergedDecorations; 101TextDecorationCollection runDecorations = properties.TextDecorations; 146private TextDecorationCollection CopyTextDecorations(TextDecorationCollection textDecorations, Brush brush) 148TextDecorationCollection result = new TextDecorationCollection(); 174TextDecorationCollection _textDecorations; 178TextDecorationCollection textDecorations) 200public override TextDecorationCollection TextDecorations
System\Windows\Controls\AccessText.cs (3)
272new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 279public TextDecorationCollection TextDecorations 281get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextBlock.cs (3)
886new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 893public TextDecorationCollection TextDecorations 895get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextBox.cs (3)
922new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 928public TextDecorationCollection TextDecorations 930get { return (TextDecorationCollection)GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextRangeAdaptor.cs (8)
370return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 381return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 392return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 403return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 436return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 447return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1300private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1326private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
System\Windows\Documents\DPTypeDescriptorContext.cs (2)
62stringValue = TextDecorationsFixup((TextDecorationCollection)propertyValue); 86private static string TextDecorationsFixup(TextDecorationCollection textDecorations)
System\Windows\Documents\Inline.cs (4)
114typeof(TextDecorationCollection), 117new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 124public TextDecorationCollection TextDecorations 126get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Documents\Paragraph.cs (3)
86new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 93public TextDecorationCollection TextDecorations 95get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Documents\SpellerHighlightLayer.cs (3)
137private static TextDecorationCollection GetErrorTextDecorations() 175TextDecorationCollection decorationCollection = new TextDecorationCollection(); 245private static readonly TextDecorationCollection _errorTextDecorations;
System\windows\Documents\TextEditorCharacters.cs (3)
218TextDecorationCollection textDecorations = propertyValue != DependencyProperty.UnsetValue ? (TextDecorationCollection)propertyValue : null; 220TextDecorationCollection toggledTextDecorations;
System\Windows\Documents\TextRangeSerialization.cs (4)
859if (propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection)) 868while ((propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection))
System\Windows\Documents\TextSchema.cs (13)
352return (value is TextDecorationCollection) && ((TextDecorationCollection)value).Count > 0; 594if (value2 is TextDecorationCollection) 596TextDecorationCollection decorations2 = (TextDecorationCollection)value2; 608if (value1 is TextDecorationCollection) 610TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 629if (value1 is TextDecorationCollection) 631TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 632TextDecorationCollection decorations2 = (TextDecorationCollection)value2;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
738case 644: t = () => typeof(TextDecorationCollection); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10011typeof(System.Windows.TextDecorationCollection),
System\Windows\Markup\KnownTypes.cs (1)
6198case KnownElements.TextDecorationCollection: t = typeof(System.Windows.TextDecorationCollection); break;
System\Windows\SystemFonts.cs (14)
69public static TextDecorationCollection IconFontTextDecorations 150public static TextDecorationCollection CaptionFontTextDecorations 230public static TextDecorationCollection SmallCaptionFontTextDecorations 307public static TextDecorationCollection MenuFontTextDecorations 387public static TextDecorationCollection StatusFontTextDecorations 481public static TextDecorationCollection MessageFontTextDecorations 505private static void CopyTextDecorationCollection(TextDecorationCollection from, TextDecorationCollection to) 1050private static TextDecorationCollection _iconFontTextDecorations; 1051private static TextDecorationCollection _messageFontTextDecorations; 1052private static TextDecorationCollection _statusFontTextDecorations; 1053private static TextDecorationCollection _menuFontTextDecorations; 1054private static TextDecorationCollection _smallCaptionFontTextDecorations; 1055private static TextDecorationCollection _captionFontTextDecorations;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
58public TextDecorationCollection TextDecorations 60get { return (TextDecorationCollection)GetValue(TextDecorationsProperty); }
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
144TextDecorationCollection decorations = new TextDecorationCollection();