19 instantiations of TextDecorationCollection
PresentationCore (7)
System\Windows\Generated\TextDecorationCollection.cs (2)
469TextDecorationCollection collection = new TextDecorationCollection(); 583return new TextDecorationCollection();
System\Windows\TextDecorationCollectionConverter.cs (1)
107TextDecorationCollection 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)
98textDecorations = new TextDecorationCollection();
MS\Internal\Text\TextSpanModifier.cs (1)
150TextDecorationCollection result = new TextDecorationCollection();
System\Windows\Documents\SpellerHighlightLayer.cs (1)
178TextDecorationCollection decorationCollection = new TextDecorationCollection();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10015bamlType.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)
84_iconFontTextDecorations = new TextDecorationCollection(); 165_captionFontTextDecorations = new TextDecorationCollection(); 245_smallCaptionFontTextDecorations = new TextDecorationCollection(); 322_menuFontTextDecorations = new TextDecorationCollection(); 403_statusFontTextDecorations = new TextDecorationCollection(); 496_messageFontTextDecorations = new TextDecorationCollection();
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
146TextDecorationCollection decorations = new TextDecorationCollection();
147 references to TextDecorationCollection
PresentationCore (46)
MS\Internal\TextFormatting\FullTextLine.cs (2)
66private TextDecorationCollection _paragraphTextDecorations; // Paragraph-level text decorations (or null if none) 2607internal TextDecorationCollection TextDecorations
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
46TextDecorationCollection textDecorations, 143public override TextDecorationCollection TextDecorations 211private TextDecorationCollection _textDecorations;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
271TextDecorationCollection textDecorations, 1068TextDecorationCollection textDecorations = currentLine.TextDecorations; 1112TextDecorationCollection textDecorations,
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1474TextDecorationCollection textDecorations = textRun.Properties.TextDecorations;
MS\Internal\TextFormatting\TextProperties.cs (1)
154internal TextDecorationCollection TextDecorations
System\Windows\Generated\TextDecorationCollection.cs (17)
56public new TextDecorationCollection Clone() 58return (TextDecorationCollection)base.Clone(); 65public new TextDecorationCollection CloneCurrentValue() 67return (TextDecorationCollection)base.CloneCurrentValue(); 463internal static TextDecorationCollection Empty 469TextDecorationCollection collection = new TextDecorationCollection(); 560private static TextDecorationCollection s_empty; 590TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 610TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 630TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 650TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection)source; 752internal Enumerator(TextDecorationCollection list) 862private TextDecorationCollection _list;
System\Windows\Media\FormattedText.cs (2)
837public void SetTextDecorations(TextDecorationCollection textDecorations) 848public void SetTextDecorations(TextDecorationCollection textDecorations, int startIndex, int count)
System\Windows\Media\textformatting\TextParagraphProperties.cs (1)
76public virtual TextDecorationCollection TextDecorations
System\Windows\Media\textformatting\TextRunProperties.cs (1)
55public abstract TextDecorationCollection TextDecorations
System\Windows\TextDecorationCollection.cs (2)
43internal bool ValueEquals(TextDecorationCollection textDecorations) 94public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result)
System\Windows\TextDecorationCollectionConverter.cs (5)
100public static new TextDecorationCollection ConvertFromString(string text) 107TextDecorationCollection textDecorations = new TextDecorationCollection(); 184ConstructorInfo ci = typeof(TextDecorationCollection).GetConstructor( 278private static readonly TextDecorationCollection[] PredefinedTextDecorations = 279new 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)
443TextDecorationCollection highlightDecorations = highlights.GetHighlightValue(position, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection;
MS\Internal\PtsHost\LineBase.cs (2)
197TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 284TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
MS\Internal\Text\ComplexLine.cs (2)
426TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 504TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
MS\Internal\Text\DynamicPropertyReader.cs (5)
72internal static TextDecorationCollection GetTextDecorationsForInlineObject(DependencyObject element, TextDecorationCollection textDecorations) 77TextDecorationCollection parentTextDecorations = null; 113internal static TextDecorationCollection GetTextDecorations(DependencyObject element) 115return GetCollectionValue(element, Inline.TextDecorationsProperty) as TextDecorationCollection;
MS\Internal\Text\LineProperties.cs (3)
80public override TextDecorationCollection TextDecorations { get { return _defaultTextProperties.TextDecorations; } } 360public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } } 441public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } }
MS\Internal\Text\TextProperties.cs (7)
62public override TextDecorationCollection TextDecorations { get { return _textDecorations; } } 159TextDecorationCollection highlightDecorations = GetHighlightTextDecorations(position); 185internal TextProperties(TextProperties source, TextDecorationCollection textDecorations) 223private static TextDecorationCollection GetHighlightTextDecorations(StaticTextPointer highlightPosition) 225TextDecorationCollection textDecorations = null; 236textDecorations = highlights.GetHighlightValue(highlightPosition, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection; 342private TextDecorationCollection _textDecorations;
MS\Internal\Text\TextSpanModifier.cs (11)
24private TextDecorationCollection _modifierDecorations; 34public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush) 46public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush, FlowDirection flowDirection) 100TextDecorationCollection mergedDecorations; 103TextDecorationCollection runDecorations = properties.TextDecorations; 148private TextDecorationCollection CopyTextDecorations(TextDecorationCollection textDecorations, Brush brush) 150TextDecorationCollection result = new TextDecorationCollection(); 176TextDecorationCollection _textDecorations; 180TextDecorationCollection textDecorations) 202public override TextDecorationCollection TextDecorations
System\Windows\Controls\AccessText.cs (3)
274new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 281public TextDecorationCollection TextDecorations 283get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextBlock.cs (3)
896new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 903public TextDecorationCollection TextDecorations 905get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextBox.cs (3)
929new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 935public TextDecorationCollection TextDecorations 937get { return (TextDecorationCollection)GetValue(TextDecorationsProperty); }
System\Windows\Controls\TextRangeAdaptor.cs (8)
372return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 383return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 394return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 405return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 438return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 449return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1302private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1328private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
System\Windows\Documents\DPTypeDescriptorContext.cs (2)
64stringValue = TextDecorationsFixup((TextDecorationCollection)propertyValue); 88private 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)
140private static TextDecorationCollection GetErrorTextDecorations() 178TextDecorationCollection decorationCollection = new TextDecorationCollection(); 248private static readonly TextDecorationCollection _errorTextDecorations;
System\windows\Documents\TextEditorCharacters.cs (3)
234TextDecorationCollection textDecorations = propertyValue != DependencyProperty.UnsetValue ? (TextDecorationCollection)propertyValue : null; 236TextDecorationCollection toggledTextDecorations;
System\Windows\Documents\TextRangeSerialization.cs (4)
865if (propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection)) 874while ((propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection))
System\Windows\Documents\TextSchema.cs (13)
353return (value is TextDecorationCollection) && ((TextDecorationCollection)value).Count > 0; 595if (value2 is TextDecorationCollection) 597TextDecorationCollection decorations2 = (TextDecorationCollection)value2; 609if (value1 is TextDecorationCollection) 611TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 630if (value1 is TextDecorationCollection) 632TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 633TextDecorationCollection decorations2 = (TextDecorationCollection)value2;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
740case 644: t = () => typeof(TextDecorationCollection); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10013typeof(System.Windows.TextDecorationCollection),
System\Windows\Markup\KnownTypes.cs (1)
6198case KnownElements.TextDecorationCollection: t = typeof(System.Windows.TextDecorationCollection); break;
System\Windows\SystemFonts.cs (14)
78public static TextDecorationCollection IconFontTextDecorations 159public static TextDecorationCollection CaptionFontTextDecorations 239public static TextDecorationCollection SmallCaptionFontTextDecorations 316public static TextDecorationCollection MenuFontTextDecorations 396public static TextDecorationCollection StatusFontTextDecorations 490public static TextDecorationCollection MessageFontTextDecorations 514private static void CopyTextDecorationCollection(TextDecorationCollection from, TextDecorationCollection to) 1059private static TextDecorationCollection _iconFontTextDecorations; 1060private static TextDecorationCollection _messageFontTextDecorations; 1061private static TextDecorationCollection _statusFontTextDecorations; 1062private static TextDecorationCollection _menuFontTextDecorations; 1063private static TextDecorationCollection _smallCaptionFontTextDecorations; 1064private static TextDecorationCollection _captionFontTextDecorations;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
61public TextDecorationCollection TextDecorations 63get { return (TextDecorationCollection)GetValue(TextDecorationsProperty); }
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
146TextDecorationCollection decorations = new TextDecorationCollection();