18 instantiations of TextDecorationCollection
PresentationCore (7)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (2)
484TextDecorationCollection collection = new TextDecorationCollection(); 601return new TextDecorationCollection();
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (1)
110TextDecorationCollection textDecorations = new TextDecorationCollection();
Core\CSharp\System\Windows\TextDecorations.cs (4)
32underline = new TextDecorationCollection(); 39strikethrough = new TextDecorationCollection(); 46overLine = new TextDecorationCollection(); 53baseline = new TextDecorationCollection();
PresentationFramework (11)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
101textDecorations = new TextDecorationCollection();
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
158TextDecorationCollection result = new TextDecorationCollection();
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
178TextDecorationCollection decorationCollection = new TextDecorationCollection();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10011bamlType.DefaultConstructor = delegate() { return new System.Windows.TextDecorationCollection(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1595case KnownElements.TextDecorationCollection: o = new System.Windows.TextDecorationCollection(); break;
src\Framework\System\Windows\SystemFonts.cs (6)
80_iconFontTextDecorations = new TextDecorationCollection(); 161_captionFontTextDecorations = new TextDecorationCollection(); 241_smallCaptionFontTextDecorations = new TextDecorationCollection(); 318_menuFontTextDecorations = new TextDecorationCollection(); 399_statusFontTextDecorations = new TextDecorationCollection(); 477_messageFontTextDecorations = new TextDecorationCollection();
144 references to TextDecorationCollection
PresentationCore (46)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
69private TextDecorationCollection _paragraphTextDecorations; // Paragraph-level text decorations (or null if none) 2668internal TextDecorationCollection TextDecorations
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (3)
47TextDecorationCollection textDecorations, 144public override TextDecorationCollection TextDecorations 212private TextDecorationCollection _textDecorations;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
295TextDecorationCollection textDecorations, 1151TextDecorationCollection textDecorations = currentLine.TextDecorations; 1199TextDecorationCollection textDecorations,
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1488TextDecorationCollection textDecorations = textRun.Properties.TextDecorations;
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (1)
156internal TextDecorationCollection TextDecorations
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (17)
58public new TextDecorationCollection Clone() 60return (TextDecorationCollection)base.Clone(); 67public new TextDecorationCollection CloneCurrentValue() 69return (TextDecorationCollection)base.CloneCurrentValue(); 478internal static TextDecorationCollection Empty 484TextDecorationCollection collection = new TextDecorationCollection(); 578private static TextDecorationCollection s_empty; 608TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection) source; 630TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection) source; 652TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection) source; 674TextDecorationCollection sourceTextDecorationCollection = (TextDecorationCollection) source; 778internal Enumerator(TextDecorationCollection list) 889private TextDecorationCollection _list;
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
849public void SetTextDecorations(TextDecorationCollection textDecorations) 860public void SetTextDecorations(TextDecorationCollection textDecorations, int startIndex, int count)
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphProperties.cs (1)
81public virtual TextDecorationCollection TextDecorations
Core\CSharp\System\Windows\Media\TextFormatting\TextRunProperties.cs (1)
57public abstract TextDecorationCollection TextDecorations
Core\CSharp\system\windows\TextDecorationCollection.cs (2)
49internal bool ValueEquals(TextDecorationCollection textDecorations) 103public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result)
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (5)
103public static new TextDecorationCollection ConvertFromString(string text) 110TextDecorationCollection textDecorations = new TextDecorationCollection(); 192ConstructorInfo ci = typeof(TextDecorationCollection).GetConstructor( 286private static readonly TextDecorationCollection[] PredefinedTextDecorations = 287new TextDecorationCollection[] {
Core\CSharp\System\Windows\TextDecorations.cs (8)
65public static TextDecorationCollection Underline 77public static TextDecorationCollection Strikethrough 88public static TextDecorationCollection OverLine 99public static TextDecorationCollection Baseline 111private static readonly TextDecorationCollection underline; 112private static readonly TextDecorationCollection strikethrough; 113private static readonly TextDecorationCollection overLine; 114private static readonly TextDecorationCollection baseline;
PresentationFramework (98)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
445TextDecorationCollection highlightDecorations = highlights.GetHighlightValue(position, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection;
src\Framework\MS\Internal\PtsHost\LineBase.cs (2)
202TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 289TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
432TextDecorationCollection inlineTextDecorations = DynamicPropertyReader.GetTextDecorations(inline); 510TextDecorationCollection textDecorations = DynamicPropertyReader.GetTextDecorations(inline);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (5)
75internal static TextDecorationCollection GetTextDecorationsForInlineObject(DependencyObject element, TextDecorationCollection textDecorations) 80TextDecorationCollection parentTextDecorations = null; 116internal static TextDecorationCollection GetTextDecorations(DependencyObject element) 118return GetCollectionValue(element, Inline.TextDecorationsProperty) as TextDecorationCollection;
src\Framework\MS\Internal\Text\LineProperties.cs (3)
83public override TextDecorationCollection TextDecorations { get { return _defaultTextProperties.TextDecorations; } } 363public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } } 444public override TextDecorationCollection TextDecorations { get { return _lp.TextDecorations; } }
src\Framework\MS\Internal\Text\TextProperties.cs (7)
65public override TextDecorationCollection TextDecorations { get { return _textDecorations; } } 162TextDecorationCollection highlightDecorations = GetHighlightTextDecorations(position); 188internal TextProperties(TextProperties source, TextDecorationCollection textDecorations) 226private static TextDecorationCollection GetHighlightTextDecorations(StaticTextPointer highlightPosition) 228TextDecorationCollection textDecorations = null; 239textDecorations = highlights.GetHighlightValue(highlightPosition, LogicalDirection.Forward, typeof(SpellerHighlightLayer)) as TextDecorationCollection; 349private TextDecorationCollection _textDecorations;
src\Framework\MS\Internal\Text\TextSpanModifier.cs (11)
32private TextDecorationCollection _modifierDecorations; 42public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush) 54public TextSpanModifier(int length, TextDecorationCollection textDecorations, Brush foregroundBrush, FlowDirection flowDirection) 108TextDecorationCollection mergedDecorations; 111TextDecorationCollection runDecorations = properties.TextDecorations; 156private TextDecorationCollection CopyTextDecorations(TextDecorationCollection textDecorations, Brush brush) 158TextDecorationCollection result = new TextDecorationCollection(); 184TextDecorationCollection _textDecorations; 188TextDecorationCollection textDecorations) 210public override TextDecorationCollection TextDecorations
src\Framework\System\Windows\Controls\AccessText.cs (3)
274new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 281public TextDecorationCollection TextDecorations 283get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextBlock.cs (3)
956new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 963public TextDecorationCollection TextDecorations 965get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextBox.cs (3)
964new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 970public TextDecorationCollection TextDecorations 972get { return (TextDecorationCollection)GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (8)
380return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 391return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 402return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 413return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 446return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 457return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1311private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1337private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (2)
66stringValue = TextDecorationsFixup((TextDecorationCollection)propertyValue); 90private static string TextDecorationsFixup(TextDecorationCollection textDecorations)
src\Framework\System\Windows\Documents\Inline.cs (4)
119typeof(TextDecorationCollection), 122new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 129public TextDecorationCollection TextDecorations 131get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Documents\Paragraph.cs (3)
93new FreezableDefaultValueFactory(TextDecorationCollection.Empty), 100public TextDecorationCollection TextDecorations 102get { return (TextDecorationCollection) GetValue(TextDecorationsProperty); }
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (3)
140private static TextDecorationCollection GetErrorTextDecorations() 178TextDecorationCollection decorationCollection = new TextDecorationCollection(); 248private static readonly TextDecorationCollection _errorTextDecorations;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (3)
236TextDecorationCollection textDecorations = propertyValue != DependencyProperty.UnsetValue ? (TextDecorationCollection)propertyValue : null; 238TextDecorationCollection toggledTextDecorations;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (4)
871if (propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection)) 880while ((propertyValue == null || TextDecorationCollection.Empty.ValueEquals(propertyValue as TextDecorationCollection))
src\Framework\System\Windows\Documents\TextSchema.cs (13)
355return (value is TextDecorationCollection) && ((TextDecorationCollection)value).Count > 0; 597if (value2 is TextDecorationCollection) 599TextDecorationCollection decorations2 = (TextDecorationCollection)value2; 611if (value1 is TextDecorationCollection) 613TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 632if (value1 is TextDecorationCollection) 634TextDecorationCollection decorations1 = (TextDecorationCollection)value1; 635TextDecorationCollection decorations2 = (TextDecorationCollection)value2;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
736case 644: t = () => typeof(TextDecorationCollection); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10009typeof(System.Windows.TextDecorationCollection),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6188case KnownElements.TextDecorationCollection: t = typeof(System.Windows.TextDecorationCollection); break;
src\Framework\System\Windows\SystemFonts.cs (14)
74public static TextDecorationCollection IconFontTextDecorations 155public static TextDecorationCollection CaptionFontTextDecorations 235public static TextDecorationCollection SmallCaptionFontTextDecorations 312public static TextDecorationCollection MenuFontTextDecorations 392public static TextDecorationCollection StatusFontTextDecorations 471public static TextDecorationCollection MessageFontTextDecorations 495private static void CopyTextDecorationCollection(TextDecorationCollection from, TextDecorationCollection to) 1040private static TextDecorationCollection _iconFontTextDecorations; 1041private static TextDecorationCollection _messageFontTextDecorations; 1042private static TextDecorationCollection _statusFontTextDecorations; 1043private static TextDecorationCollection _menuFontTextDecorations; 1044private static TextDecorationCollection _smallCaptionFontTextDecorations; 1045private static TextDecorationCollection _captionFontTextDecorations;